interface FileChooserChangeEvent extends InstanceEvent { files: File[]; } interface FileChooserInstanceEventMap extends WorldInstanceEventMap { "change": FileChooserChangeEvent; } /** Represents the File Chooser object. * @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/plugin-interfaces/file-chooser | IFileChooserInstance documentation } */ declare class IFileChooserInstance extends IDOMInstance { addEventListener>(type: K, listener: (ev: FileChooserInstanceEventMap[K]) => any): void; removeEventListener>(type: K, listener: (ev: FileChooserInstanceEventMap[K]) => any): void; click(): void; clear(): void; getFiles(): File[]; }