import type { ClientOptions } from './createClient.js'; import type { GraphqlOperation } from './generateGraphqlOperation.js'; export interface Fetcher { (gql: GraphqlOperation): Promise; } export type BatchOptions = { batchInterval?: number; maxBatchSize?: number; }; export declare const createFetcher: ({ url, headers, fetcher, fetch: _fetch, batch, ...rest }: ClientOptions) => Fetcher;