type VerifyEmailOtpLabels = { /** Group and cell name used when `title` is empty. Default "Verification code". */ verificationCode?: string; /** Accessible name suffix of one cell. Default "digit N of M". */ digit?: (index: number, total: number) => string; /** Text before the resend button. Default "Didn’t receive the code?". */ didntReceive?: string; /** Resend button text. Default "Resend Code". */ resend?: string; }; /** Props for the full OTP verification card (icon, title, resend link); for a bare input in your own layout use PinInput. */ export type VerifyEmailOtpProps = { /** Called when the Resend Code button is pressed. */ resendMail: () => void; /** Called with the digits typed so far on every change. */ onChange: (value: string) => void; /** Fires once all `pins` cells are filled — a `pins` value that doesn't match the actual OTP length blocks or truncates completion. */ onComplete: (value: string) => void; /** Character shown in each empty cell; none by default. */ placeholder?: string; /** Typed as required, but the implementation silently defaults to 5 if a caller bypasses the type and omits it. */ pins: number; /** Card heading; also the accessible name of the cell group when set. */ title: string; /** First line under the heading. */ description: string; /** Second line under `description`. Defaults to "your new Pixel Account"; pass "" to drop the line. */ subtitle?: string; /** Replaces the English UI text; any label left out keeps its default. */ labels?: VerifyEmailOtpLabels; /** Disables every cell. */ isDisabled?: boolean; /** Marks the cells invalid. */ isInvalid?: boolean; /** Inline style on the card's outer box. */ styles?: React.CSSProperties; }; export {};