import { AddonConfig } from '../../addon-config';
import { Field, FieldConfig } from './field';
export interface TextFieldConfig extends FieldConfig {
    mask?: () => string | any;
    readonly?: () => boolean;
    characterPattern?: (() => string) | string;
    unmask?: (() => boolean) | boolean;
    inputType?: string;
    keyFilter?: any;
    leftAddon?: AddonConfig;
    rightAddon?: AddonConfig;
    maxLength?: string | number;
    browserAutocomplete?: boolean;
    style?: {
        [klass: string]: any;
    };
    onBlur?: (event: Event) => void;
    onFocus?: (event: FocusEvent) => void;
    onComplete?: (event: FocusEvent) => void;
    onInput?: (event: FocusEvent) => void;
}
export declare class TextField extends Field {
    mask?: () => string | any;
    characterPattern?: (() => string) | string;
    unmask?: (() => boolean) | boolean;
    readonly?: () => boolean;
    inputType?: string;
    keyFilter?: any;
    leftAddon?: AddonConfig;
    rightAddon?: AddonConfig;
    maxLength?: string | number;
    browserAutocomplete?: boolean;
    style?: {
        [klass: string]: any;
    };
    onBlur?: (event: Event) => void;
    onFocus?: (event: FocusEvent) => void;
    onComplete?: (event: any) => void;
    onInput?: (event: any) => void;
    constructor(config: TextFieldConfig);
}
