export interface UsePaymentRedirectOptions {
    orderId?: string;
    paymentType: string;
    onAfterReturn?: () => void;
}
export interface UsePaymentRedirectReturn {
    isReturned: boolean;
    handleRedirect: (url: string) => Promise<void>;
    resetState: () => void;
}
/**
 * 支付跳转 Hook
 * 用于处理跳转到外部支付页面的逻辑，包括：
 * 1. 保存跳转标记到 history state
 * 2. 跳转到外部支付页面
 * 3. 监听页面返回事件
 * 4. 返回后更新状态
 */
export declare const usePaymentRedirect: (options: UsePaymentRedirectOptions) => UsePaymentRedirectReturn;
