/** * Builds a `FileList` polyfill class and installs a `files` getter/setter * on the given `HTMLInputElement`'s prototype, so that assigning to * `input.files` works (jsdom does not support this natively). The * `HTMLInputElement` constructor is supplied by the caller (e.g., * `window.HTMLInputElement` from a `jsdom` instance) rather than read * off a global, since it may not yet be set at the time this module is * imported. * @param {typeof HTMLInputElement} HTMLInputElementCtor * @returns {new (files: ArrayLike) => { * [Symbol.toStringTag]: string, * length: number, * item: (index: import('typeson').Integer) => File * }} */ export function buildFileList(HTMLInputElementCtor: typeof HTMLInputElement): new (files: ArrayLike) => { [Symbol.toStringTag]: string; length: number; item: (index: import("typeson").Integer) => File; }; //# sourceMappingURL=buildFileList.d.ts.map