export type FormFile = { filepath: string; lastModifiedDate: Date; mimetype: string; newFilename: string; originalFilename: string; size: number; }; export type FormDataValue = string | FormFile; export default class ExtendedFormData { #private; append(name: string, value: FormDataValue): void; delete(name: string): void; get(name: string): FormDataValue | null; getAll(name: string): FormDataValue[]; getText(name: string): string | null; getAllText(name: string): string[]; getFile(name: string): FormFile | null; getAllFiles(name: string): (FormFile)[]; has(name: string): boolean; set(name: string, value: FormDataValue): void; entries(): IterableIterator<[string, FormDataValue[]]>; keys(): IterableIterator; values(): IterableIterator; forEach(callback: (value: FormDataValue[], key: string, parent: ExtendedFormData) => void, thisArg?: any): void; [Symbol.iterator](): IterableIterator<[string, FormDataValue[]]>; static isFormidableFile(object: any): boolean; }