import React from 'react';
import { BasicComponent } from "../../../../src/utils/typings";
import { FileItem } from './types';
export interface UploaderProps extends BasicComponent {
    maxCount: string | number;
    maxFileSize: number;
    defaultValue?: FileItem[];
    value?: FileItem[];
    previewType: 'picture' | 'list';
    fit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
    upload: (file: File) => Promise<FileItem>;
    uploadIcon?: React.ReactNode;
    deleteIcon?: React.ReactNode;
    uploadLabel?: React.ReactNode;
    name: string;
    accept: string;
    disabled: boolean;
    autoUpload: boolean;
    multiple: boolean;
    clearInput: boolean;
    preview: boolean;
    deletable: boolean;
    capture: boolean | 'user' | 'environment';
    className: string;
    previewUrl?: string;
    style: React.CSSProperties;
    onDelete?: (file: FileItem, files: FileItem[]) => void;
    onOversize?: (files: File[]) => void;
    onOverCount?: (count: number) => void;
    onChange?: (files: FileItem[]) => void;
    beforeUpload?: (files: File[]) => Promise<File[]>;
    beforeDelete?: (file: FileItem, files: FileItem[]) => boolean;
    onFileItemClick?: (file: FileItem, index: number) => void;
    onUploadQueueChange?: (tasks: FileItem[]) => void;
}
export declare const Uploader: React.ForwardRefExoticComponent<Partial<UploaderProps> & {
    children?: React.ReactNode | undefined;
} & React.RefAttributes<unknown>>;
