import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; declare const _default: __VLS_WithTemplateSlots, { files: () => never[]; fileTypes: () => string[]; buttonOnly: boolean; disabled: boolean; multiple: boolean; size: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "file-select": (args_0: { files: FileUploadProps['files']; }) => void; "file-delete": (file: File) => void; "file-error": (message: string) => void; }, string, PublicProps, Readonly, { files: () => never[]; fileTypes: () => string[]; buttonOnly: boolean; disabled: boolean; multiple: boolean; size: string; }>>> & Readonly<{ "onFile-select"?: ((args_0: { files: FileUploadProps['files']; }) => any) | undefined; "onFile-delete"?: ((file: File) => any) | undefined; "onFile-error"?: ((message: string) => any) | undefined; }>, { disabled: boolean; size: "standard" | "dense"; multiple: boolean; files: File[]; fileTypes: FileType[]; buttonOnly: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { submitText?(_: {}): any; hint?(_: {}): any; }>; export default _default; export declare const FILE_TYPES: { CSV: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; PDF: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; PNG: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; JPEG: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; DOC: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; XLS: { EXTENSION: string[]; MIME_TYPES: string[]; ILLUSTRATION: string; }; }; export declare type FileType = 'CSV' | 'PDF' | 'PNG' | 'JPEG' | 'DOC' | 'XLS'; export declare interface FileUploadProps { /** * Files to display in the component */ files?: File[]; /** * Accepted file types */ fileTypes?: FileType[]; /** * Should display only the button */ buttonOnly?: boolean; /** * Allows upload of multiple files */ multiple?: boolean; /** * Is the input disabled */ disabled?: boolean; /** * Component size */ size?: FileUploadSize; } export declare type FileUploadSize = `${FileUploadSizes}`; export declare enum FileUploadSizes { Dense = "dense", Standard = "standard" } export { }