export default FilePicker; type FilePicker = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial): void; } & { open: () => void; }; declare const FilePicker: import("svelte").Component<{ /** * The `accept` attribute for the ``. */ accept?: string | undefined; /** * Whether to accept multiple files. */ multiple?: boolean | undefined; /** * Custom `select` event * handler. Since `multiple` could be false, we pass both `file` and `files` with the arguments. */ onSelect?: ((detail: { files: File[]; file: File; }) => void) | undefined; /** * `cancel` event handler. */ onCancel?: (() => void) | undefined; }, { open: () => void; }, "">; type Props = { /** * The `accept` attribute for the ``. */ accept?: string | undefined; /** * Whether to accept multiple files. */ multiple?: boolean | undefined; /** * Custom `select` event * handler. Since `multiple` could be false, we pass both `file` and `files` with the arguments. */ onSelect?: ((detail: { files: File[]; file: File; }) => void) | undefined; /** * `cancel` event handler. */ onCancel?: (() => void) | undefined; };