import { EventEmitter } from '../../../stencil-public-runtime';
/**
 * Display a file upload tool. Note that the file is not actually transmitted, so it may be used by
 * callers with a variety of workflows. Instead, data about the chosen file will be passed to the
 * caller via the onNext event handler. A delete event is also exposed to delete existing attachments.
 * To represent an existing attachment, set the existingFile property.
 */
export declare class VerdocsUploadDialog {
    private fileInput?;
    maxSize: number;
    existingFile: any;
    /**
     * Event fired when the step is cancelled. This is called exit to avoid conflicts with the JS-reserved "cancel" event name.
     */
    exit: EventEmitter;
    /**
     * Event fired when the dialog is closed. The event data will contain the file selected.
     */
    next: EventEmitter<File[]>;
    /**
     * Event fired when an existing attachment is deleted. The parent component is
     * responsible for the actual removal.
     */
    remove: EventEmitter;
    draggingOver: boolean;
    confirmDelete: boolean;
    selectedFiles: File[];
    errorMessage: string;
    handleCancel(): void;
    handleDismiss(e: any): void;
    handleDone(): void;
    handleDragOver(e: any): void;
    handleDragLeave(e: any): void;
    handleDrop(e: any): Promise<void>;
    handleRemoveAttachment(index: number): void;
    handleSetSelected(files: any[]): void;
    handleDeleteAttachment(e: any): void;
    handleSelectFile(): void;
    handleFileChange(): Promise<void>;
    render(): any;
}
