import type { RequestEvent } from "../core/event_request.js";
import type { BoundHandler } from "../tools/hook/hook.js";
export declare const DefaultMaxBodySize: number;
export declare const DefaultBodyLimitMiddlewareId = "pbBodyLimit";
export declare const DefaultBodyLimitMiddlewarePriority: number;
export declare function BodyLimit(limitBytes: number): BoundHandler<RequestEvent>;
export declare function dynamicCollectionBodyLimit(collectionPathParam: string): BoundHandler<RequestEvent>;
export declare function applyBodyLimit(event: RequestEvent, limitBytes: number): Promise<Response | null>;
