/** * 自定义Hook:使用WalletPass功能 */ export declare const useWalletPass: (props: { onSelectChange?: ((select: { voucher_id: number; amount: number; code: string; }[]) => void) | undefined; customAmount?: string | undefined; clientId?: number | undefined; totalAmount?: number | undefined; baseSales?: any; onDiscountChange?: ((detail?: any) => void) | undefined; }) => { walletRecommendList: any[]; userIdentificationCodes: any[]; loading: boolean; error: string | null; cardData: any; handleSelectWallet: (this: unknown, value: number[]) => void; selectedWalletIds: any[]; expiredWalletIds: any[]; expiredWalletData: any; disabledWalletData: any[]; clearAllSelectedWallet: (this: unknown) => Promise; clearDisabledWalletData: (this: unknown) => void; handleBeforeEditAmount: (this: unknown, value: any, index: number, data: any) => Promise; handleBestSaving: (this: unknown) => Promise; handleSearchIdentificationCode: (this: unknown, value: string) => Promise; availableDiscountList: any; selectedDiscountList: any; handleSelectDiscount: (this: unknown, value: number[], option: any) => Promise; customerName: any; fetchUserIdentificationCodes: (this: unknown, params: any) => Promise; getCachedWalletRecommendList: (this: unknown) => any; getCachedUserIdentificationCodes: (this: unknown) => any; clearWalletRecommendList: (this: unknown) => void; clearUserIdentificationCodes: (this: unknown) => void; clearAllCache: (this: unknown) => void; handleConfirmEditAmount: (this: unknown, value: number, id: number, data: any) => void; };