import { INode } from '@nextcloud/files'; import { IFilePickerButton, IFilePickerButtonFactory, IFilePickerCanPick, IFilePickerFilter } from '../types.ts'; type __VLS_Props = { /** Buttons to be displayed */ buttons: IFilePickerButton[] | IFilePickerButtonFactory; /** The name of file picker dialog (heading) */ name: string; /** * Can directories be picked * * @default false */ allowPickDirectory?: boolean; /** * Can new Files/folders be created * * @default false */ noMenu?: boolean; /** * Is the navigation disabled */ disabledNavigation?: boolean; /** * Custom filter function used to filter pickable files */ filterFn?: IFilePickerFilter; /** * Custom function to decide if a node can be picked */ canPickFn?: IFilePickerCanPick; /** * List of allowed mime types * You can use placeholders for e.g. allowing all subtypes of images `['image/*']`. * Note that if unset all files are allowed, which is the same as passing `['*∕*']` * * @default [] */ mimetypeFilter?: string[]; /** * Is it allowed to pick multiple files */ multiselect?: boolean; /** * The initial path of the file picker * * @default '/' */ path?: string; }; declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { close: (v?: INode[] | undefined) => any; }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{ onClose?: ((v?: INode[] | undefined) => any) | undefined; }>, { path: string; allowPickDirectory: boolean; multiselect: boolean; disabledNavigation: boolean; noMenu: boolean; filterFn: IFilePickerFilter; canPickFn: IFilePickerCanPick; mimetypeFilter: string[]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;