import { IWalletListItemProps } from '../serve';
/**
 * 钱包卡片Hook的参数
 */
export interface UseWalletCardParams {
    globalState: any;
    setGlobalState: (state: any) => void;
    walletContext: any;
    cardList: IWalletListItemProps[];
    cardType: string;
    isDiscountCard?: boolean;
    valueField?: string;
    setupValue?: 'menu' | 'list' | 'detail';
}
/**
 * 钱包卡片Hook
 * 封装了钱包卡片组件的通用逻辑
 */
export declare function useWalletCard({ globalState, setGlobalState, walletContext, cardList, cardType, isDiscountCard, valueField, setupValue }: UseWalletCardParams): {
    platform: string;
    currentId: any;
    currentDetail: any;
    isEmpty: boolean;
    state: any;
    dispatch: any;
    handleRowClick: (detail: IWalletListItemProps) => void;
    renderCardDetail: () => import("react").ReactNode;
    formatData: () => {
        title: any;
        dataSource: IWalletListItemProps[];
    }[];
};
export default useWalletCard;
