import { CustomizableOptions } from '../../composables/useCustomizableOptions'; import { Widthable } from '../../composables/widthable'; import { locales as defaultLocales } from './locales'; import { FileItem, SelectedFile, UploadItem } from './types'; type __VLS_Props = Widthable & CustomizableOptions & { uploadList: UploadItem[]; sectionTitle?: string; showFilePreview?: boolean; infoText?: string; headingLevel?: 1 | 2 | 3 | 4 | 5 | 6; locales?: typeof defaultLocales; }; type __VLS_PublicProps = { modelValue?: SelectedFile[]; } & __VLS_Props; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ title?: () => undefined; 'modal-title'?: (props: { id: string; }) => undefined; 'modal-description'?: () => undefined; 'preview-description'?: () => undefined; }> & { title?: () => undefined; 'modal-title'?: (props: { id: string; }) => undefined; 'modal-description'?: () => undefined; 'preview-description'?: () => undefined; }; refs: { fileUpload: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly modelValue: File[]; readonly disabled?: boolean | undefined; readonly multiple?: boolean | undefined; readonly fileSizeMax?: number | undefined; readonly fileSizeUnits?: Array | undefined; readonly allowedExtensions?: Array | undefined; readonly locales?: typeof import('../FileUpload/locales').locales | undefined; readonly maxWidth?: import('../../composables/widthable').NumberOrNumberString; readonly minWidth?: import('../../composables/widthable').NumberOrNumberString; readonly width?: import('../../composables/widthable').NumberOrNumberString; readonly onError?: ((value: string[]) => any) | undefined; readonly "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { fileInput: HTMLInputElement; dropZone: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "error", value: string[]) => void) & ((event: "update:modelValue", value: File[]) => void); $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase; allowedExtensions?: Array; locales?: typeof import('../FileUpload/locales').locales; } & Widthable> & Readonly<{ onError?: ((value: string[]) => any) | undefined; "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; }>, { fileInput: import('vue').Ref; openFileDialog: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { error: (value: string[]) => any; "update:modelValue": (value: File[]) => any; }, string, { disabled: boolean; locales: typeof import('../FileUpload/locales').locales; multiple: boolean; allowedExtensions: Array; fileSizeUnits: Array; fileSizeMax: number; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ disabled: boolean; locales: typeof import('../FileUpload/locales').locales; multiple: boolean; allowedExtensions: Array; fileSizeUnits: Array; fileSizeMax: number; }> & Omit; allowedExtensions?: Array; locales?: typeof import('../FileUpload/locales').locales; } & Widthable> & Readonly<{ onError?: ((value: string[]) => any) | undefined; "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; }>, "fileInput" | "openFileDialog" | ("disabled" | "locales" | "multiple" | "allowedExtensions" | "fileSizeUnits" | "fileSizeMax")> & { fileInput: HTMLInputElement | null; openFileDialog: () => void; } & {} & import('vue').ComponentCustomProperties & {} & { $slots: Readonly<{ default(): void; } & import('../FileUpload/FileUploadContent').FileUploadContentSlots> & { default(): void; } & import('../FileUpload/FileUploadContent').FileUploadContentSlots; }) | null; form: HTMLDivElement; }; rootEl: HTMLDivElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (value: SelectedFile[]) => any; } & { error: (value: string[]) => any; "update:modelValue": (value: SelectedFile[]) => any; preview: (value: FileItem) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onError?: ((value: string[]) => any) | undefined; "onUpdate:modelValue"?: ((value: SelectedFile[]) => any) | undefined; onPreview?: ((value: FileItem) => any) | undefined; }>, { headingLevel: 1 | 2 | 3 | 4 | 5 | 6; locales: typeof defaultLocales; uploadList: UploadItem[]; sectionTitle: string; showFilePreview: boolean; infoText: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { fileUpload: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly modelValue: File[]; readonly disabled?: boolean | undefined; readonly multiple?: boolean | undefined; readonly fileSizeMax?: number | undefined; readonly fileSizeUnits?: Array | undefined; readonly allowedExtensions?: Array | undefined; readonly locales?: typeof import('../FileUpload/locales').locales | undefined; readonly maxWidth?: import('../../composables/widthable').NumberOrNumberString; readonly minWidth?: import('../../composables/widthable').NumberOrNumberString; readonly width?: import('../../composables/widthable').NumberOrNumberString; readonly onError?: ((value: string[]) => any) | undefined; readonly "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: import('vue').Attrs; $refs: { [x: string]: unknown; } & { fileInput: HTMLInputElement; dropZone: HTMLDivElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "error", value: string[]) => void) & ((event: "update:modelValue", value: File[]) => void); $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase; allowedExtensions?: Array; locales?: typeof import('../FileUpload/locales').locales; } & Widthable> & Readonly<{ onError?: ((value: string[]) => any) | undefined; "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; }>, { fileInput: import('vue').Ref; openFileDialog: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { error: (value: string[]) => any; "update:modelValue": (value: File[]) => any; }, string, { disabled: boolean; locales: typeof import('../FileUpload/locales').locales; multiple: boolean; allowedExtensions: Array; fileSizeUnits: Array; fileSizeMax: number; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ disabled: boolean; locales: typeof import('../FileUpload/locales').locales; multiple: boolean; allowedExtensions: Array; fileSizeUnits: Array; fileSizeMax: number; }> & Omit; allowedExtensions?: Array; locales?: typeof import('../FileUpload/locales').locales; } & Widthable> & Readonly<{ onError?: ((value: string[]) => any) | undefined; "onUpdate:modelValue"?: ((value: File[]) => any) | undefined; }>, "fileInput" | "openFileDialog" | ("disabled" | "locales" | "multiple" | "allowedExtensions" | "fileSizeUnits" | "fileSizeMax")> & { fileInput: HTMLInputElement | null; openFileDialog: () => void; } & {} & import('vue').ComponentCustomProperties & {} & { $slots: Readonly<{ default(): void; } & import('../FileUpload/FileUploadContent').FileUploadContentSlots> & { default(): void; } & import('../FileUpload/FileUploadContent').FileUploadContentSlots; }) | null; form: HTMLDivElement; }, HTMLDivElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };