import React, { ReactNode } from 'react';
export interface DetailContextType {
    openDetail: (detail: any) => void;
    closeDetail: () => void;
    addWalletCard: () => void;
    setShowModal: (show: boolean) => void;
    renderDetail: (detail: any) => React.ReactNode;
    currentDetail: any;
    isOpen: boolean;
    isInitialized: boolean;
}
export interface DetailProviderProps {
    children: ReactNode;
}
/**
 * 详情提供者组件
 * 管理钱包详情的显示状态和数据
 */
export declare const DetailProvider: React.FC<DetailProviderProps>;
/**
 * 使用详情上下文的钩子
 * @returns DetailContext上下文值
 * @throws 如果不在DetailProvider内部使用，将抛出错误
 */
export declare const useDetail: () => DetailContextType;
