import { TRPCError } from '@trpc/server'; import { OpenApiHTTPRequest } from '../../types'; /** * Query values are raw framework input: strings from `URLSearchParams`, and * whatever the framework's parser supplies (`string | string[]`, nested * objects, ...). Values are validated by zod after the adapter merges them. */ export declare const getQuery: (req: OpenApiHTTPRequest, url: URL) => Record; /** * Default maximum request body size in bytes (100kb), shared by the node HTTP * and fetch adapters. */ export declare const DEFAULT_MAX_BODY_SIZE = 100000; export declare const payloadTooLargeError: (cause?: unknown) => TRPCError; export declare const getBody: (req: OpenApiHTTPRequest, maxBodySize?: number) => Promise; //# sourceMappingURL=input.d.ts.map