//#region src/lib/file-picker.d.ts type PickedFiles = [File, ...File[]]; type OpenFilePickerOptions = { accept?: string | undefined; multiple?: boolean | undefined; onPick: (files: PickedFiles) => void; }; /** * Opens the browser's file chooser without an `` in the * component tree, so no surface carries a hidden input, a ref, or the * value-reset that lets the same file be picked twice. * * Call it synchronously inside a user gesture (a click or keydown handler): * browsers open the chooser only under transient activation, so an `await` * before the call silently does nothing. Dismissing the chooser calls nothing; * `onPick` runs only with at least one file. */ declare const openFilePicker: ({ accept, multiple, onPick }: OpenFilePickerOptions) => void; //#endregion export { type OpenFilePickerOptions, openFilePicker };