export interface FormBodyLimits { maxFormFields: number; maxFormFieldNameLength: number; maxFormDepth: number; maxFormArrayIndex: number; } export declare const defaultFormBodyLimits: FormBodyLimits; export declare class FormBodyBuilder { private readonly limits; private readonly root; private structureCount; constructor(limits: FormBodyLimits); add(name: string, value: unknown): void; addTopLevelFile(name: string, value: unknown): void; mergeObject(value: Record): void; merge(builder: FormBodyBuilder): void; build(): Record; private consumeStructure; } export declare function parseFormUrlEncodedBody(text: string, limits: FormBodyLimits): Record; export declare function assertTopLevelFormFieldName(name: string, limits: FormBodyLimits): void; //# sourceMappingURL=form-body.d.ts.map