import { Ref, ButtonHTMLAttributes, CSSProperties, ReactElement, ChangeEvent, MouseEvent, PureComponent } from 'react';
import PropTypes from 'prop-types';
import { CombinePropsAndAttributes } from '../../helpers';
export declare enum DisplayVariant {
Img = "img",
Block = "block"
}
export declare type Display = 'img' | 'block';
interface ISelfProps {
elementRef?: Ref;
previewStyle?: CSSProperties;
display?: Display;
name?: string;
placeholder?: ReactElement;
defaultValue?: string;
value?: string;
disabled?: boolean;
readOnly?: boolean;
resetButton?: ReactElement;
onChange?(image: File, event: ChangeEvent | MouseEvent): any;
}
export declare type IProps = CombinePropsAndAttributes>;
interface IState {
value: string;
filename: string;
}
export declare const DisplayValues: Display[];
export default class ImageSelect extends PureComponent {
static propTypes: {
elementRef: PropTypes.Requireable<(...args: any[]) => any>;
previewStyle: PropTypes.Requireable