import React from 'react';
interface SummaryData {
}
interface SummaryContextType {
    subtotal: number | string;
    total: number | string;
    taxTitle?: string;
    totalTaxFee?: string;
    isPriceIncludeTax?: 0 | 1;
    deposit?: {
        total: string;
        protocols: any[];
        hasDeposit: boolean;
    };
    isAgreeDepositPolicy: boolean;
    setIsAgreeDepositPolicy: (value: boolean) => void;
    getDepositProtocol: (params: {
        id: string;
    }) => Promise<any>;
}
interface SummaryProviderProps {
    children: React.ReactNode;
}
export declare const SummaryContext: React.Context<SummaryContextType | undefined>;
export declare const SummaryProvider: React.FC<SummaryProviderProps>;
/**
 * 使用步骤管理的Hook
 * @throws {Error} 如果在StepProvider外部使用会抛出错误
 * @returns {StepContextType} 步骤管理上下文
 */
export declare const useSummary: () => SummaryContextType;
declare const _default: {
    defaultState: SummaryData;
};
export default _default;
