import { MASK_TYPES, MASK_PIPES } from '@elliemae/ds-form';
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
export type InputMaskProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
    name: string;
    defaultValue?: string;
    rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
    mask: <T>(value: T) => T;
    onChange?: (e: React.BaseSyntheticEvent) => void;
    onBlur?: (e: React.BaseSyntheticEvent) => void;
    [x: string]: unknown;
};
export declare const InputMask: ({ name, defaultValue, rules, onChange: changeHandler, onBlur: onBlurHandler, ...rest }: InputMaskProps) => import("react/jsx-runtime").JSX.Element;
export { MASK_TYPES, MASK_PIPES };
