import type { DSMaskT } from '@elliemae/ds-controlled-form';
import { DSInputTextT } from '@elliemae/ds-controlled-form';
import { RegisterOptions, FieldValues, FieldPath } from 'react-hook-form';
type ReactHookCommons<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
    name: string;
    defaultValue?: string;
    rules?: Omit<RegisterOptions<TFieldValues, TName>, 'valueAsNumber' | 'valueAsDate' | 'setValueAs'>;
};
type CommonProps = ReactHookCommons & DSInputTextT.Props;
export type MaskedInputTextProps = CommonProps & {
    useMask: DSMaskT.NumberHook | DSMaskT.PhoneHook | DSMaskT.Hook;
    maskOpts: Partial<Omit<DSMaskT.RegExpHookArgs, 'onChange' | 'valueSetter'> | Omit<DSMaskT.PhoneHookArgs, 'onChange' | 'valueSetter'> | Omit<DSMaskT.NumberHookArgs, 'onChange' | 'valueSetter'>>;
};
export declare const MaskedInputText: ({ name, defaultValue, rules, useMask, maskOpts, ...rest }: MaskedInputTextProps) => import("react/jsx-runtime").JSX.Element;
export {};
