export type UseFileDialogOptions = { multiple?: boolean; /** @default '*' */ accept?: string; onChange?: (files: FileList | null) => void | Promise; onError?: () => void | Promise; }; /** * Simplified interface for opening a file picker dialog * Derived from vueuse @see https://vueuse.org/useFileDialog */ export declare function useFileDialog({ multiple, accept, onChange, onError }?: UseFileDialogOptions): { files: Readonly Promise; readonly bytes: () => Promise>; readonly slice: (start?: number, end?: number, contentType?: string) => Blob; readonly stream: () => ReadableStream>; readonly text: () => Promise; }; readonly length: number; readonly item: (index: number) => File | null; readonly [Symbol.iterator]: () => ArrayIterator; } | null, { readonly [x: number]: { readonly lastModified: number; readonly name: string; readonly webkitRelativePath: string; readonly size: number; readonly type: string; readonly arrayBuffer: () => Promise; readonly bytes: () => Promise>; readonly slice: (start?: number, end?: number, contentType?: string) => Blob; readonly stream: () => ReadableStream>; readonly text: () => Promise; }; readonly length: number; readonly item: (index: number) => File | null; readonly [Symbol.iterator]: () => ArrayIterator; } | null>>; open: () => void | Promise; }; //# sourceMappingURL=useFileDialog.d.ts.map