import * as React from "react";
export interface SimpleImageFileToDataUriProps {
    buttonText?: string;
    onChange(dataUri: string): void;
}
export declare class SimpleImageFileToDataUri extends React.Component<SimpleImageFileToDataUriProps> {
    private readonly inputOpenFileRef;
    constructor(props: SimpleImageFileToDataUriProps);
    showOpenFileDlg: () => void;
    renderDropZone(): JSX.Element | null;
    render(): JSX.Element;
    private createDataUrlFromFile;
    private createDataUrlFromFile2;
    private loadAsDataURLFromFile;
}
