import type { Handler } from "../types"; export interface JsonOptions { limit?: number; type?: string | RegExp | ((contentType: string) => boolean); } export interface UrlencodedOptions { limit?: number; extended?: boolean; type?: string | RegExp | ((contentType: string) => boolean); } export interface TextOptions { limit?: number; type?: string | RegExp | ((contentType: string) => boolean); } export interface RawOptions { limit?: number | string; type?: string | RegExp | ((contentType: string) => boolean); verify?: (req: any, res: any, buf: Buffer, encoding: string) => void; } export declare function json(options?: JsonOptions): Handler; export declare function urlencoded(options?: UrlencodedOptions): Handler; export declare function text(options?: TextOptions): Handler; export declare function raw(options?: RawOptions): Handler; //# sourceMappingURL=body-parser.d.ts.map