import { ReturnPromise, ReturnVoid } from '@oinone/kunlun-shared';
import { PropType } from 'vue';
import { FileModel } from '../../util';
export declare const AUploadProps: {
    multiple: {
        type: BooleanConstructor;
        default: boolean;
    };
    limit: {
        type: NumberConstructor;
        default: number;
    };
    limitSize: {
        type: NumberConstructor;
        default: number;
    };
    listType: {
        type: StringConstructor;
    };
    showUploadList: {
        type: BooleanConstructor;
        default: undefined;
    };
    disabled: {
        type: BooleanConstructor;
        default: boolean;
    };
    beforeUpload: {
        type: FunctionConstructor;
    };
    progress: {
        type: PropType<Record<string, unknown>>;
    };
    onReject: {
        type: FunctionConstructor;
    };
    onDrop: {
        type: FunctionConstructor;
    };
    customRequest: {
        type: FunctionConstructor;
    };
};
export declare const UploadCallbackProps: {
    removeCallback: {
        type: PropType<(file: any) => ReturnPromise<boolean | ReturnVoid>>;
    };
};
export declare const OioUploadProps: {
    readonly: {
        type: BooleanConstructor;
        default: boolean;
    };
    /**
     * 分片大小, 单位M
     */
    partSize: {
        type: NumberConstructor;
    };
    /**
     * 文件大小 大于 某个值的时候开启分片上传
     */
    chunkUploadThreshold: {
        type: NumberConstructor;
    };
    /**
     * 分片上传并发数量
     */
    parallel: {
        type: NumberConstructor;
    };
    accept: {
        type: PropType<string | string[]>;
    };
    uploadList: {
        type: PropType<FileModel[]>;
    };
    managed: {
        type: BooleanConstructor;
        default: boolean;
    };
    manual: {
        type: BooleanConstructor;
        default: boolean;
    };
    cdnKey: {
        type: StringConstructor;
    };
    contentType: {
        type: StringConstructor;
        default: string;
    };
    removeCallback: {
        type: PropType<(file: any) => ReturnPromise<boolean | ReturnVoid>>;
    };
    multiple: {
        type: BooleanConstructor;
        default: boolean;
    };
    limit: {
        type: NumberConstructor;
        default: number;
    };
    limitSize: {
        type: NumberConstructor;
        default: number;
    };
    listType: {
        type: StringConstructor;
    };
    showUploadList: {
        type: BooleanConstructor;
        default: undefined;
    };
    disabled: {
        type: BooleanConstructor;
        default: boolean;
    };
    beforeUpload: {
        type: FunctionConstructor;
    };
    progress: {
        type: PropType<Record<string, unknown>>;
    };
    onReject: {
        type: FunctionConstructor;
    };
    onDrop: {
        type: FunctionConstructor;
    };
    customRequest: {
        type: FunctionConstructor;
    };
};
