import { type OpenfortError } from '../../errors/base.js'; export type OTPResponse = { error?: OpenfortError; sentTo?: 'email' | 'phone'; email?: string; phone?: string; }; /** How long the resend button stays locked after a recovery code has been requested. */ export declare const OTP_RESEND_COOLDOWN_MS = 10000; /** How long a rejected-code message stays up before the code input reopens. */ export declare const OTP_ERROR_DISPLAY_MS = 1000; export declare function useRecoveryOTP(): { isEnabled: boolean; requestOTP: () => Promise; };