import type { FormDataPart } from './types.js'; /** * Returns a blank multipart form part with enabled set to true. */ export declare function emptyFormPart(): FormDataPart; /** * Coerces a partial or legacy form part record to the full FormDataPart shape. * * @param part - Raw part fields from storage or import. * @returns Normalized form part with defaults for missing fields. */ export declare function normalizeFormPart(part: Partial): FormDataPart; /** * Parses a serialized multipart body string into form parts. * * @param body - JSON array stored in the request body field. * @returns Parsed form parts, or an empty array when body is empty or invalid. */ export declare function parseFormParts(body: string): FormDataPart[]; /** * Serializes form parts for storage in the request body field. * * @param parts - Multipart form parts to serialize. * @returns JSON string, or an empty string when there are no parts. */ export declare function serializeFormParts(parts: FormDataPart[]): string; //# sourceMappingURL=formData.d.ts.map