import type { ComponentType, InputHTMLAttributes, ReactNode } from 'react'; type InputOtpProps = Omit, 'onChange' | 'pattern'> & { children?: ReactNode; onChange?: (value: string) => void; containerClassName?: string; pattern?: string | RegExp; }; /** * Factory for `vi.mock(import('input-otp'), inputOtpMockFactory)`. The real library schedules a * password-manager timeout that can fire after jsdom teardown ("window is not defined"); this * renders a plain text input that forwards `onChange(value)` instead. */ export declare function inputOtpMockFactory(): Promise<{ OTPInput: ComponentType; OTPInputContext: import("react").Context<{ slots: { char: string; hasFakeCaret: boolean; isActive: boolean; }[]; }>; REGEXP_ONLY_DIGITS: RegExp; REGEXP_ONLY_DIGITS_AND_CHARS: RegExp; }>; export {};