import { FileRef } from '../../models/file-ref';
import { BceFile } from '../../utils/bce-file';
export declare class Upload {
    private el;
    active?: boolean;
    dialog?: boolean;
    error?: boolean;
    hasFocus?: boolean;
    height?: string;
    info?: string;
    label?: string;
    name?: string;
    tooltip?: string;
    validation?: string;
    value: string[];
    width?: string;
    accept?: string;
    multiple: boolean;
    private _highlight;
    private data;
    private _initialValue?;
    private _inputCreator;
    private _server;
    private get fileIcon();
    private handleData;
    private handleDragEnter;
    private handleDragLeave;
    private handleDragOver;
    private handleDrop;
    private handleUpload;
    private handleUrl;
    private ignoreEvent;
    private triggerUpload;
    cancel(id: string): Promise<void>;
    delete(id: string): Promise<void>;
    download(id: string): Promise<void>;
    rename(id: string, filename?: string): Promise<void>;
    upload(files: BceFile[] | FileList): Promise<FileRef[]>;
    watchValue(value: string[]): void;
    private toFile;
    private updateValue;
    componentWillLoad(): void;
    componentDidUnload(): void;
    renderPreview(): any[];
    renderDropzone(): any;
    renderOptions(): any;
    renderContainer(): any;
    renderDialog(): any;
    renderRegular(): any;
    render(): any[];
}
