import type { OtpVerificationMode, UseOtpVerificationOptions, UseOtpVerificationReturn } from '../types';
export type { OtpFormValues, OtpValidateFn, OtpVerificationMode, UseOtpVerificationOptions, UseOtpVerificationReturn, } from '../types';
/** Instruction line below recipient (Figma: "Kindly check your Email Inbox."). */
export declare const DEFAULT_OTP_INSTRUCTIONS: Record<OtpVerificationMode, string>;
export declare const DEFAULT_OTP_TITLES: Record<OtpVerificationMode, string>;
/** Re-export for consumers who import from hooks. */
export { getResendCooldownSeconds, OTP_LENGTH, RESEND_COOLDOWN_EMAIL_SECONDS, RESEND_COOLDOWN_PHONE_SECONDS, } from '../validations';
/**
 * Form state, resend countdown, and validation for OTP verification.
 *
 * **Resend cooldown:** mode-dependent timer (60s phone / 120s email) blocks re-sends until elapsed.
 * **Dual submission:** `submitApi` (async, hook owns flow) vs `onSubmit` (sync, caller owns flow).
 * **Validation:** otpFormSchema ensures all 6 digits are present before submission.
 */
export declare function useOtpVerification({ mode, onSubmit, onResendCode, submitApi, onSuccess, onError, validate, }: UseOtpVerificationOptions): UseOtpVerificationReturn;
