import React from 'react';
import { StatusClassName } from './components/PaymentResultToast';
/**
 * 格式化货币金额
 */
export declare const formatCurrency: (amount: number, amountSymbol?: string) => string | number;
/**
 * 根据支付状态计算标题
 */
export declare const calculateTitle: (status: string, failureReason?: string, getText?: (key: string) => string) => string;
/**
 * 生成副标题CSS类名的辅助函数
 */
export declare const getSubtitleClassName: (colorClass: string) => string;
/**
 * 根据支付状态和金额计算副标题
 */
export declare const calculateSubtitle: (status: string, amount: number, gapAmount?: number, getText?: (key: string) => string, amountSymbol?: string) => React.ReactNode;
/**
 * 根据支付状态计算StatusClassName
 */
export declare const calculateStatusClassName: (status: string) => StatusClassName;
/**
 * 根据支付状态计算自动关闭配置
 */
export declare const calculateAutoCloseConfig: (status: string, hasChangeDue: boolean) => {
    autoClose: boolean;
    autoCloseDelay: number;
    maskClosable: boolean;
};
