import * as React from "react";
export interface ImageFileToDataUriState {
    modalOpen: boolean;
}
export interface ImageFileToDataUriProps {
    buttonText?: string;
    onChange(dataUri: string): void;
}
export declare class ImageFileToDataUri extends React.Component<ImageFileToDataUriProps, ImageFileToDataUriState> {
    constructor(props: ImageFileToDataUriProps);
    renderModal(): JSX.Element | null;
    render(): JSX.Element;
    private createDataUrlFromFile;
}
