import { Component } from 'react';
import { Dictionary } from '@brandingbrand/fsfoundation';
import { FormLabelPosition } from '../Form';
export declare const successIcon: any;
export declare const errorIcon: any;
export interface StatefulTextboxProps {
    labelPosition: FormLabelPosition;
    locals: Dictionary;
    componentFactory?: any;
}
export interface StatefulTextboxState {
    active: boolean;
    validated: boolean;
}
export declare type ComputeFieldType = (prevField: any) => () => void;
export default class StatefulTextbox extends Component<StatefulTextboxProps, StatefulTextboxState> {
    activeErrorField: JSX.Element;
    alertStyle: Dictionary;
    checkStyle: Dictionary;
    controlLabelStyle: Dictionary;
    defaultStyle: Dictionary;
    errorBlockStyle: Dictionary;
    groupStyle: Dictionary;
    help: JSX.Element;
    labelViewStyle: Dictionary;
    rightTextboxIconStyle: Dictionary;
    textboxStyle: Dictionary;
    textboxViewStyle: Dictionary;
    state: StatefulTextboxState;
    private computeBlur;
    private computeFocus;
    private input;
    constructor(props: StatefulTextboxProps);
    render(): JSX.Element;
    private onFocus;
    private onBlur;
}
