import { CSSProperties, ReactNode } from 'react';
interface FilePreview {
    id: string;
    name?: string;
    size?: number;
    type?: string;
    url: string;
    exactUrl?: string;
    status?: "uploading" | "uploaded" | "error";
    file?: File;
}
interface UploadFilesProps {
    id?: string;
    files?: FilePreview[];
    multiple?: boolean;
    className?: string;
    style?: CSSProperties;
    helperText?: string;
    helperTextColor?: string;
    placeholder?: string;
    prefix?: ReactNode;
    suffix?: ReactNode;
    onChange?: (files: FilePreview[]) => void;
    linkDomain?: string;
    prevewMaxLength?: number;
    allowType?: Array<string>;
    disabled?: boolean;
    simpleStyle?: boolean;
    readOnly?: boolean;
    /**
    * maxSize unit: kb (kilobytes) \
    * default: 200mb
    */
    maxSize?: number;
}
interface UploadFilesRef {
    showUploadPopup: () => void;
    closeUploadPopup: () => void;
    setFiles: (files: FilePreview[]) => void;
    files: FilePreview[];
    element?: HTMLDivElement;
}
export declare const UploadFiles: import('react').ForwardRefExoticComponent<UploadFilesProps & import('react').RefAttributes<UploadFilesRef>>;
export declare const urlToFileType: (url: string) => string;
export {};
//# sourceMappingURL=upload.d.ts.map