///
import { IncomingMessage, ServerResponse } from 'http';
export declare const GRAPHQL_MULTIPART_REQUEST_SPEC_URL: string;
export interface UploadOptions {
maxFieldSize?: number | undefined;
maxFileSize?: number | undefined;
maxFiles?: number | undefined;
}
export interface GraphQLOperation {
query: string;
operationName?: null | string | undefined;
variables?: null | unknown | undefined | any;
}
export type IncomingReq = Partial & {
body?: string;
rawBody?: string;
req?: any;
pipe?: any;
unpipe?: any;
once?: any;
resume?: any;
};
export declare function processRequest(request?: IncomingReq, response?: Partial, options?: UploadOptions): Promise;