declare type StructuredFormValue = string | boolean | number | File | StructuredFormValue[]; declare type StructuredFormData = Record; interface Configuration { /** * Can be a partial object of `T` type. * * This is useful if you want to always guarantee that certain fields are * present in the output. */ defaults?: Partial; /** * What values to use when determining a "falsy" value to coerce to `false`. * * Examples: * - `["false", "no", "n", "0"]` * * Default is `"false"` */ falsy?: string | string[]; /** * What values to use when determining a "truthy" value to coerce to `true`. * * Examples: * - `["on", "true", "yes", "y", "1"]` * * Default is `["on", "true"]` */ truthy?: string | string[]; } declare function parseFormData(data?: FormData, configuration?: Configuration): Partial; export { Configuration, StructuredFormData, StructuredFormValue, parseFormData };