import type { ComponentType, ReactElement } from 'react'; import type { Mask } from 'react-text-mask'; import type { InputProps } from '../Input'; export type InputMaskProps | keyof JSX.IntrinsicElements> = InputProps & { /** * маска в формате react-text-mask */ mask: Mask | ((value: string) => Mask); }; export declare function InputMask | keyof JSX.IntrinsicElements = 'input'>({ mask, onChange, value, component, ...rest }: InputMaskProps): ReactElement;