export interface RequestLimits { maxBodySize?: number; maxUrlLength?: number; maxHeaderSize?: number; maxFileSize?: number; } /** * Framework-owned request limits. * * Freeze the public value so importing code cannot silently weaken the * process-wide defaults for later requests. */ export declare const DEFAULT_LIMITS: Readonly>; export interface ParseJsonOptions { limits?: RequestLimits; /** * HTML-encode string values in the validated result. * * @deprecated Prefer contextual output encoding. This option remains for * compatibility with existing consumers. */ sanitize?: boolean; } export interface ParseFormOptions { limits?: RequestLimits; } export interface ParseQueryOptions { limits?: RequestLimits; } export interface ValidatedData { body?: TBody; query?: TQuery; } //# sourceMappingURL=types.d.ts.map