import { AnyRouter } from '@trpc/server'; import { NonEmptyArray } from '../internals/types'; import { HTTPLinkBaseOptions } from './internals/httpUtils'; import { HTTPHeaders, Operation, TRPCLink } from './types'; export interface HttpBatchLinkOptions extends HTTPLinkBaseOptions { maxURLLength?: number; /** * Headers to be set on outgoing requests or a callback that of said headers * @link http://trpc.io/docs/client/headers */ headers?: HTTPHeaders | ((opts: { opList: NonEmptyArray; }) => HTTPHeaders | Promise); } export declare function httpBatchLink(opts: HttpBatchLinkOptions): TRPCLink; //# sourceMappingURL=httpBatchLink.d.ts.map