import { FocusEventHandler, ChangeEventHandler } from 'react'; import { Input } from '../input.js'; import { InferComponentProps } from '../types.js'; type PatternInputProps = InferComponentProps & { name: string; /** pattern - A Vanilla Masker pattern that will be passed into `toPattern` */ pattern: string; onBlur?: FocusEventHandler; onChange?: ChangeEventHandler; invalidOnTouched?: boolean; }; /** * PatternInput - A generic text input that works with Vanilla Masker's `toPattern` * * `` the value will be reformatted and displayed as "12-34-56" * * @deprecated This component is deprecated and will be removed in a future release. Avoid using it in new code. */ export declare const PatternInput: ({ name, pattern, onBlur, onChange, invalidOnTouched, ...props }: PatternInputProps) => import("react/jsx-runtime").JSX.Element; export {};