/// <reference types="react" />
import { Upload } from '@alifd/next';
export default Upload;
export declare const UploadCard: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/upload").CardProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
    uploaderRef: {
        onSelect: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        onDrop: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        selectFiles(files: File[]): void;
        uploadFiles(files: import("@alifd/next/types/upload/types").ObjectFile[]): void;
        startUpload(): void;
        replaceFiles(old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile): void;
        replaceWithNewFile: (old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile) => import("@alifd/next/types/upload/types").ObjectFile;
        isUploading(): boolean;
        onProgress: (e: import("@alifd/next/types/upload/types").UploadProgressEvent, file: import("@alifd/next/types/upload").UploadFile) => void;
        onSuccess: (response: import("@alifd/next/types/upload/types").UploadResponse, file: import("@alifd/next/types/upload").UploadFile) => void;
        onError: (err: import("@alifd/next/types/upload").UploadError, response: import("@alifd/next/types/upload/types").UploadResponse, file?: import("@alifd/next/types/upload/types").ObjectFile) => void;
        removeFile: (file: import("@alifd/next/types/upload").UploadFile) => void;
        updateUploadingState: () => void;
        abort: (file: File) => void;
        onChange: (value: import("@alifd/next/types/upload/types").ObjectFile[], file: import("@alifd/next/types/upload/types").ObjectFile | import("@alifd/next/types/upload/types").ObjectFile[]) => void;
        render(): import("react").JSX.Element;
        uploaderRef: import("@alifd/next/types/upload/types").UploaderRef;
        saveUploaderRef: (ref: import("@alifd/next/types/upload/types").UploaderRef | {
            getInstance: () => import("@alifd/next/types/upload/types").UploaderRef;
        }) => void;
        context: any;
        setState<K extends keyof import("@alifd/next/types/upload/types").UploadState>(state: import("@alifd/next/types/upload/types").UploadState | ((prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, props: Readonly<import("@alifd/next/types/upload").UploadProps>) => import("@alifd/next/types/upload/types").UploadState | Pick<import("@alifd/next/types/upload/types").UploadState, K>) | Pick<import("@alifd/next/types/upload/types").UploadState, K>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<import("@alifd/next/types/upload").UploadProps> & Readonly<{
            children?: import("react").ReactNode;
        }>;
        state: Readonly<import("@alifd/next/types/upload/types").UploadState>;
        refs: {
            [key: string]: import("react").ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>): any;
        componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
    };
    componentDidMount(): void;
    componentDidUpdate(): void;
    onProgress: (value: import("@alifd/next/types/upload").UploadFile[], targetItem: import("@alifd/next/types/upload").UploadFile) => void;
    onChange: (value: import("@alifd/next/types/upload").UploadFile[], file: import("@alifd/next/types/upload").UploadFile) => void;
    isUploading(): boolean;
    saveRef(ref: {
        onSelect: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        onDrop: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        selectFiles(files: File[]): void;
        uploadFiles(files: import("@alifd/next/types/upload/types").ObjectFile[]): void;
        startUpload(): void;
        replaceFiles(old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile): void;
        replaceWithNewFile: (old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile) => import("@alifd/next/types/upload/types").ObjectFile;
        isUploading(): boolean;
        onProgress: (e: import("@alifd/next/types/upload/types").UploadProgressEvent, file: import("@alifd/next/types/upload").UploadFile) => void;
        onSuccess: (response: import("@alifd/next/types/upload/types").UploadResponse, file: import("@alifd/next/types/upload").UploadFile) => void;
        onError: (err: import("@alifd/next/types/upload").UploadError, response: import("@alifd/next/types/upload/types").UploadResponse, file?: import("@alifd/next/types/upload/types").ObjectFile) => void;
        removeFile: (file: import("@alifd/next/types/upload").UploadFile) => void;
        updateUploadingState: () => void;
        abort: (file: File) => void;
        onChange: (value: import("@alifd/next/types/upload/types").ObjectFile[], file: import("@alifd/next/types/upload/types").ObjectFile | import("@alifd/next/types/upload/types").ObjectFile[]) => void;
        render(): import("react").JSX.Element;
        uploaderRef: import("@alifd/next/types/upload/types").UploaderRef;
        saveUploaderRef: (ref: import("@alifd/next/types/upload/types").UploaderRef | {
            getInstance: () => import("@alifd/next/types/upload/types").UploaderRef;
        }) => void;
        context: any;
        setState<K_1 extends keyof import("@alifd/next/types/upload/types").UploadState>(state: import("@alifd/next/types/upload/types").UploadState | ((prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, props: Readonly<import("@alifd/next/types/upload").UploadProps>) => import("@alifd/next/types/upload/types").UploadState | Pick<import("@alifd/next/types/upload/types").UploadState, K_1>) | Pick<import("@alifd/next/types/upload/types").UploadState, K_1>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<import("@alifd/next/types/upload").UploadProps> & Readonly<{
            children?: import("react").ReactNode;
        }>;
        state: Readonly<import("@alifd/next/types/upload/types").UploadState>;
        refs: {
            [key: string]: import("react").ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>): any;
        componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
    }): void;
    updateUploaderRef(uploaderRef: {
        onSelect: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        onDrop: (files: import("@alifd/next/types/upload").UploadFile[]) => void;
        selectFiles(files: File[]): void;
        uploadFiles(files: import("@alifd/next/types/upload/types").ObjectFile[]): void;
        startUpload(): void;
        replaceFiles(old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile): void;
        replaceWithNewFile: (old: import("@alifd/next/types/upload/types").ObjectFile, current: import("@alifd/next/types/upload").UploadFile) => import("@alifd/next/types/upload/types").ObjectFile;
        isUploading(): boolean;
        onProgress: (e: import("@alifd/next/types/upload/types").UploadProgressEvent, file: import("@alifd/next/types/upload").UploadFile) => void;
        onSuccess: (response: import("@alifd/next/types/upload/types").UploadResponse, file: import("@alifd/next/types/upload").UploadFile) => void;
        onError: (err: import("@alifd/next/types/upload").UploadError, response: import("@alifd/next/types/upload/types").UploadResponse, file?: import("@alifd/next/types/upload/types").ObjectFile) => void;
        removeFile: (file: import("@alifd/next/types/upload").UploadFile) => void;
        updateUploadingState: () => void;
        abort: (file: File) => void;
        onChange: (value: import("@alifd/next/types/upload/types").ObjectFile[], file: import("@alifd/next/types/upload/types").ObjectFile | import("@alifd/next/types/upload/types").ObjectFile[]) => void;
        render(): import("react").JSX.Element;
        uploaderRef: import("@alifd/next/types/upload/types").UploaderRef;
        saveUploaderRef: (ref: import("@alifd/next/types/upload/types").UploaderRef | {
            getInstance: () => import("@alifd/next/types/upload/types").UploaderRef;
        }) => void;
        context: any;
        setState<K_2 extends keyof import("@alifd/next/types/upload/types").UploadState>(state: import("@alifd/next/types/upload/types").UploadState | ((prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, props: Readonly<import("@alifd/next/types/upload").UploadProps>) => import("@alifd/next/types/upload/types").UploadState | Pick<import("@alifd/next/types/upload/types").UploadState, K_2>) | Pick<import("@alifd/next/types/upload/types").UploadState, K_2>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<import("@alifd/next/types/upload").UploadProps> & Readonly<{
            children?: import("react").ReactNode;
        }>;
        state: Readonly<import("@alifd/next/types/upload/types").UploadState>;
        refs: {
            [key: string]: import("react").ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>): any;
        componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").UploadProps>, prevState: Readonly<import("@alifd/next/types/upload/types").UploadState>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").UploadProps>, nextState: Readonly<import("@alifd/next/types/upload/types").UploadState>, nextContext: any): void;
    }): void;
    render(): import("react").JSX.Element;
    abort(file: File): void;
    startUpload(): void;
    saveUploaderRef: (ref: import("@alifd/next/types/upload/types").UploaderRef | {
        getInstance: () => import("@alifd/next/types/upload/types").UploaderRef;
    }) => void;
    context: any;
    setState<K_1 extends keyof import("@alifd/next/types/upload/types").CardState>(state: import("@alifd/next/types/upload/types").CardState | ((prevState: Readonly<import("@alifd/next/types/upload/types").CardState>, props: Readonly<import("@alifd/next/types/upload").CardProps>) => import("@alifd/next/types/upload/types").CardState | Pick<import("@alifd/next/types/upload/types").CardState, K_1>) | Pick<import("@alifd/next/types/upload/types").CardState, K_1>, callback?: () => void): void;
    forceUpdate(callback?: () => void): void;
    readonly props: Readonly<import("@alifd/next/types/upload").CardProps> & Readonly<{
        children?: import("react").ReactNode;
    }>;
    state: Readonly<import("@alifd/next/types/upload/types").CardState>;
    refs: {
        [key: string]: import("react").ReactInstance;
    };
    shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").CardProps>, nextState: Readonly<import("@alifd/next/types/upload/types").CardState>, nextContext: any): boolean;
    componentWillUnmount?(): void;
    componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
    getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/upload").CardProps>, prevState: Readonly<import("@alifd/next/types/upload/types").CardState>): any;
    componentWillMount?(): void;
    UNSAFE_componentWillMount?(): void;
    componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").CardProps>, nextContext: any): void;
    UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/upload").CardProps>, nextContext: any): void;
    componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").CardProps>, nextState: Readonly<import("@alifd/next/types/upload/types").CardState>, nextContext: any): void;
    UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/upload").CardProps>, nextState: Readonly<import("@alifd/next/types/upload/types").CardState>, nextContext: any): void;
}, {}>;
export declare const UploadDragger: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/upload").DraggerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/upload/dragger").default, {}>;
export declare const UploadSelecter: typeof import("@alifd/next/types/upload/runtime/selecter").default;
export type { UploadProps, CardProps as UploadCardProps, DraggerProps as UploadDraggerProps, SelecterProps as UploadSelecterProps, } from '@alifd/next/types/upload';
