import { InputHTMLAttributes } from 'vue';
export interface FileUploadAreaProps {
label?: string;
description?: string;
labelOnDrop?: string;
triggerLabel?: string;
maxSize?: number;
maxFiles?: number;
multiple?: boolean;
icon?: string;
accept?: InputHTMLAttributes['accept'];
onTriggerClick?: () => void;
class?: InputHTMLAttributes['class'];
}
export interface FileError {
message: string;
type: 'size' | 'type' | 'count';
files: File[];
}
export interface FileUploadAreaEmit {
error: [error: FileError];
}
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: import('vue').DefineComponent any;
"update:modelValue": (value: File[]) => any;
}, string, import('vue').PublicProps, Readonly & Readonly<{
onError?: ((error: FileError) => any) | undefined;
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
}>, {
label: string;
description: string;
icon: string;
multiple: boolean;
labelOnDrop: string;
triggerLabel: string;
maxSize: number;
maxFiles: number;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;