import type { OptionsJson } from 'body-parser'; import type { NextHandleFunction } from 'connect'; /** * The default maximum request body size for the JSON Body Parser */ export declare const DefaultJsonBodyParserOptionsLimit = "100kb"; /** * The default MIME types for the JSON Body Parser */ export declare const DefaultJsonBodyParserOptionsTypes: string[]; /** * The default options for the JSON Body Parser */ export declare const DefaultJsonBodyParserOptions: OptionsJson; /** * Gets the default JSON Body Parser options merged with the supplied options * with the supplied options taking precedence * @param options The options to override the default JSON Body Parser options with * @returns The combined JSON Body Parser options with the supplied values taking * precedence over the default */ export declare const getJsonBodyParserOptions: (options?: Partial) => OptionsJson; /** * Get a JSON Body Parser connect middleware handler * @param options The options for the JSON Body Parser * @returns A middleware function that parses JSON bodies */ export declare const getJsonBodyParser: (options?: OptionsJson) => NextHandleFunction; /** * A JSON Body Parser middleware handler initialized with the default options */ export declare const jsonBodyParser: NextHandleFunction; //# sourceMappingURL=jsonBodyParser.d.ts.map