/** * Internal peer-to-peer transfer service. * Moves ledger balance between users by email; requires 2FA when enabled. */ /** * Transfers balance from one user to another identified by email. * @param userId Sender user UUID * @param toEmail Recipient email (normalized and hashed for lookup) * @param walletTypeCode Asset code for the transfer * @param amountRaw Amount in smallest ledger unit * @param totpCode TOTP code when sender has 2FA enabled * @returns Sender transaction ID and status (always completed on success) * @throws {Error} On invalid amount, failed 2FA, recipient not found, self-transfer, or insufficient balance */ export declare function requestTransfer(userId: string, toEmail: string, walletTypeCode: string, amountRaw: bigint, totpCode?: string): Promise<{ transactionId: string; status: string; }>; //# sourceMappingURL=transferService.d.ts.map