import { F_PAYMENT_GATEWAY_KEY, type FdoPaymentTransactionV2Output } from "@feedmepos/payment-entity"; import type { FdoDinero } from "@feedmepos/payment-entity/payment"; export interface PortalPaymentTransaction { id: string; transactionId: string | null | undefined; payId: string; gatewayTransactionId: string | null | undefined; gatewayRefundId: string | null | undefined; transactionAt: string; refundedAt: string; method: FdoPaymentTransactionV2Output["method"]; gateway: F_PAYMENT_GATEWAY_KEY; status: string; amount: string; gatewayAmount: string; fdoAmount: FdoDinero; fee: string; payout: string; seqNumber?: string; seqNumberBinded: boolean; payFor: string; source: string; sourceType: string; restaurantId: string; businessId: string | null | undefined; settlementId: string; settlementAt: string; flags: { query: boolean; refund: boolean; notify: boolean; isDelivery: boolean; }; } declare function toTransaction(trx: FdoPaymentTransactionV2Output): PortalPaymentTransaction; declare function toTransactions(trxs: FdoPaymentTransactionV2Output[]): PortalPaymentTransaction[]; export { toTransaction, toTransactions };