import { VerdocsEndpoint } from '@verdocs/js-sdk';
import { EventEmitter } from '../../../stencil-public-runtime';
/**
 * Displays a file picker to upload an attachment. This component is just the picker - the host application or component should
 * provide the actual upload functionality.
 *
 * ```ts
 * <verdocs-file-chooser onFileSelected={(e) => console.log('File Selected', e.detail)} />
 * ```
 */
export declare class VerdocsFileChooser {
    /**
     * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.
     */
    endpoint: VerdocsEndpoint;
    /**
     * Event fired when a file has been selected. Note that the file may be null if the user is choosing a different file.
     * Host applications should use this event to enable/disable buttons to upload or otherwise process the selected file.
     */
    fileSelected: EventEmitter<{
        file: File | null;
    }>;
    file: File | null;
    handleFileChanged(e: any): void;
    handleSelectFile(e: any): void;
    render(): any;
}
