import { FormEvent } from "react"; /** * Parses the data from a submitted HTML form and returns an object mapping form field names to their values. * * If a field appears multiple times (e.g., checkboxes with the same name), its value will be an array of values. * Otherwise, the value will be a single FormDataEntryValue (string or File). */ export declare const parseFormData: = Record>(e: FormEvent) => T;