/// <reference types="react" />
import { PhoneValueObject } from './PhoneInput';
export interface ForgotPasswordFlowProps {
    /** 初始账号（可选，如果用户在登录页已输入） */
    initialEmail?: string | PhoneValueObject;
    /** 账号类型 */
    accountType: 'email' | 'phone';
    /** 发送验证码回调 */
    onSendCode?: (account: string | PhoneValueObject) => Promise<void>;
    /** 验证验证码回调 */
    onVerifyCode?: (account: string | PhoneValueObject, code: string) => Promise<void>;
    /** 发送重置密码链接回调 */
    onSendResetLink?: (account: string) => Promise<void>;
    /** 重置密码回调 */
    onResetPassword?: (account: string | PhoneValueObject, password: string, code: string) => Promise<void>;
    /** 返回登录页 */
    onBack?: () => void;
    /** 加载状态 */
    loading?: boolean;
    /** 倒计时 */
    countdown?: number;
    /** 可用的国家/地区列表 */
    countries?: Array<{
        name: string;
        code: string;
        calling_code: string;
        currency_code: string;
    }>;
}
declare function ForgotPasswordFlow({ initialEmail, accountType, onSendCode, onVerifyCode, onResetPassword, onSendResetLink, onBack, loading, countdown, countries, }: ForgotPasswordFlowProps): JSX.Element | null;
export default ForgotPasswordFlow;
