<commit_before>// @flow

declare module "apollo-link-http" {
  declare type $Record<T, U> = {[key: $Enum<T>]: U};

  declare type NextLink = (operation: Operation) => any;

  declare export type RequestHandler = (
    operation: Operation,
    forward?: NextLink,
  ) => any;

  declare export class ApolloLink {
    constructor(request?: RequestHandler): void;

    static empty: ApolloLink;
    static from(links: ApolloLink[]): ApolloLink;
    static execute(
      link: ApolloLink,
      operation: GraphQLRequest,
    ): any;

    split(
      test: (op: Operation) => boolean,<commit_msg>[apollo-link-http_v1.2.x.js] Updates (#3427)<commit_after>// @flow

declare module "apollo-link-http" {
  declare type $Record<T, U> = {[key: $Keys<T>]: U};

  declare type NextLink = (operation: Operation) => any;

  declare export type RequestHandler = (
    operation: Operation,
    forward?: NextLink,
  ) => any;

  declare export class ApolloLink {
    constructor(request?: RequestHandler): void;

    static empty: ApolloLink;
    static from(links: ApolloLink[]): ApolloLink;
    static execute(
      link: ApolloLink,
      operation: GraphQLRequest,
    ): any;

    split(
      test: (op: Operation) => boolean,
{'fraction_non_alphanumeric': 0.13267813267813267, 'fraction_numerical': 0.004914004914004914, 'mean_word_length': 3.45985401459854, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4943480', 'n_tokens_mistral': 404, 'n_tokens_neox': 366, 'n_words': 107}