/// <reference types="react" />
import { IMask } from 'react-imask';
import { ReactMaskOpts } from 'react-imask/mixin';
import { InputProps } from './Input';
export interface InputMaskProps extends Omit<InputProps, 'onChange'> {
    maskConfig: ReactMaskOpts & {
        from?: number;
        to?: number;
    };
    onChange?(value: string, event?: InputEvent): void;
    onComplete?(value: string, event?: InputEvent): void;
}
export declare const Mask: typeof IMask;
export declare const InputMask: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<InputMaskProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>>;
