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> = T extends undefined ? never : T;

declare type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};

declare type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: PropType<T[K]>;
        required: true;
    };
};

declare type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};

declare type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};

declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileUploadProps>, {
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<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileUploadProps>, {
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 { }
