import type { H0UploadAdapter, H0UploadItem } from '../../types'; import type { H0FileUploadValidationError, H0FileUploadVariant } from './FileUpload.types'; declare const __VLS_export: (__VLS_props: NonNullable>["props"], __VLS_ctx?: __VLS_PrettifyLocal>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable>["expose"], __VLS_setup?: Promise<{ props: import("vue").PublicProps & __VLS_PrettifyLocal<{ modelValue?: File[]; defaultValue?: File[]; multiple?: boolean; accept?: string; maxSize?: number; maxFiles?: number; validator?: (file: File, files: readonly File[]) => string | null | undefined | Promise; upload?: H0UploadAdapter; autoUpload?: boolean; concurrency?: number; reorderable?: boolean; variant?: H0FileUploadVariant; id?: string; name?: string; label?: string; required?: boolean; disabled?: boolean; error?: string; hint?: string; } & { onClear?: (() => any) | undefined; onRemove?: ((file: File) => any) | undefined; onInvalid?: ((error: H0FileUploadValidationError) => any) | undefined; onCancel?: ((item: H0UploadItem) => any) | undefined; onAdd?: ((files: File[]) => any) | undefined; onSuccess?: ((item: H0UploadItem) => any) | undefined; onError?: ((item: H0UploadItem) => any) | undefined; onProgress?: ((item: H0UploadItem) => any) | undefined; onChange?: ((files: File[]) => any) | undefined; onBlur?: ((event: FocusEvent) => any) | undefined; onFocus?: ((event: FocusEvent) => any) | undefined; "onUpdate:modelValue"?: ((files: File[]) => any) | undefined; "onUpload-start"?: ((item: H0UploadItem) => any) | undefined; onReorder?: ((files: File[]) => any) | undefined; }> & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P; } ? P : {}); expose: (exposed: import("vue").ShallowUnwrapRef<{ cancel: (id: string) => void; clear: () => void; open: () => void; queue: import("vue").ShallowRef<(H0UploadItem & { previewUrl?: string; })[], (H0UploadItem & { previewUrl?: string; })[]>; remove: (target: File | string) => void; reorder: (from: number, to: number) => void; retry: (id: string) => void; start: (target?: string) => Promise; }>) => void; attrs: any; slots: { drop?: (props: { open: () => void; }) => any; } & { item?: (props: { item: H0UploadItem & { previewUrl?: string; }; index: number; remove: (target: File | string) => void; retry: (id: string) => void; cancel: (id: string) => void; }) => any; }; emit: ((evt: "clear") => void) & ((evt: "remove", file: File) => void) & ((evt: "invalid", error: H0FileUploadValidationError) => void) & ((evt: "cancel", item: H0UploadItem) => void) & ((evt: "add", files: File[]) => void) & ((evt: "success", item: H0UploadItem) => void) & ((evt: "error", item: H0UploadItem) => void) & ((evt: "progress", item: H0UploadItem) => void) & ((evt: "change", files: File[]) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:modelValue", files: File[]) => void) & ((evt: "upload-start", item: H0UploadItem) => void) & ((evt: "reorder", files: File[]) => void); }>) => import("vue").VNode & { __ctx?: NonNullable>; }; declare const _default: typeof __VLS_export; export default _default; type __VLS_PrettifyLocal = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};