import { EntityManager } from 'typeorm'; import { UserProfile } from '../core/auth'; import { FinancialTransaction, FinancialTransactionEventKey } from './financial.entities'; export declare class TopUpPayload { type: FinancialTransactionEventKey; profileId: string; amount: number; remark?: string; rebate?: boolean; constructor(o: TopUpPayload); } export declare class ExchangePayload { key: string; profileId: string; refId?: string; constructor(o: ExchangePayload); } /** * 资产帮助类 */ export declare class PropertyHelper { static kvDef: { collection: string; key: string; }; static getUserProfileWithWallet(profileId: string, manager?: EntityManager): Promise; static topUp(payload: TopUpPayload, manager?: EntityManager): Promise; static exchange(payload: ExchangePayload, manager?: EntityManager): Promise; }