import React from 'react';
export interface InternalMaskedInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
    mask: string;
    maskChar?: string | null;
    formatChars?: {
        [key: string]: string;
    };
    alwaysShowMask?: boolean;
    hasLeftIcon?: boolean;
    hasRightIcon?: boolean;
    onUnexpectedInput?: (value: string) => void;
    onValueChange?: (value: string) => void;
}
interface MaskedInputState {
    value: string;
    originValue: string;
    emptyValue: string;
    focused: boolean;
}
type DefaultProps = Required<Pick<InternalMaskedInputProps, 'maskChar'>>;
export declare const MaskedInputDataTids: {
    readonly root: "MaskedInput__root";
};
/** @deprecated Со следующей мажорной версии Input перестанет поддерживать маску.
 * todo: выпилить в 5 версии библиотеки.
 * */
export declare class InternalMaskedInput extends React.PureComponent<InternalMaskedInputProps, MaskedInputState> {
    static __KONTUR_REACT_UI__: string;
    static displayName: string;
    static defaultProps: DefaultProps;
    private getProps;
    input: HTMLInputElement | null;
    private theme;
    private reactInputMask;
    constructor(props: InternalMaskedInputProps);
    componentDidMount(): void;
    componentDidUpdate(prevProps: InternalMaskedInputProps): void;
    render(): React.JSX.Element;
    private renderMain;
    private getValue;
    private refInput;
    private refMaskedInput;
    private handleChange;
    private handleFocus;
    private handleBlur;
    private preprocess;
    private isMaskVisible;
    private handleUnexpectedInput;
}
export {};
