/** What the design draws, and what a step omitting `length` falls back to. */ export declare const OTP_CODE_LENGTH = 6; export interface FiatOtpScreenProps { /** Digits the step expects, as the transition declares them. */ verified?: boolean; length?: number; /** * Where the code went, when the client is the one that supplied it. A round * on a channel the entry never collected for has no value to name. */ destination?: string; /** Which channel carried it, as the step reports it. */ isSms: boolean; /** The step's own error — a bad code re-enters this same state. */ errorMessage?: string; /** * Sends a fresh code. The row is always drawn — every frame has it — but it * is live only when the round carries a transition for it; absent, the link * is disabled rather than a press that does nothing. */ onResend?: () => void; isSubmitting: boolean; onChangeCode: (code: string) => void; onSubmit: () => void; onClose: () => void; } /** * The one-time code (screen 2). * * The per-digit boxes are a display: one field holds the code, so iOS fills it * from the message and a paste lands whole. */ export declare function FiatOtpScreen(props: FiatOtpScreenProps): import("react").JSX.Element; interface FiatOtpContentProps extends FiatOtpScreenProps { code: string; } export declare function FiatOtpContent({ verified, length, destination, isSms, errorMessage, onResend, isSubmitting, onChangeCode, onSubmit, onClose, code, }: FiatOtpContentProps): import("react").JSX.Element; export {}; //# sourceMappingURL=FiatOtpScreen.d.ts.map