import { FdoDinero } from "@feedmepos/core/entity"; import { F_PAYMENT_GATEWAY_KEY, type FdoPaymentTransactionV2Output } from "@feedmepos/payment-entity"; export interface PortalChargebackTransaction { id: string; restaurant: string; payId: string; createdAt: string; canSettleAt: string; method: FdoPaymentTransactionV2Output["method"]; gateway: F_PAYMENT_GATEWAY_KEY; status: string; amount: string; fdoAmount: FdoDinero; fee: string; payout: string; seqNumber: string; payFor: string; group: string; chargeBackReason: string; settlement: string; } declare function toChargebackTransaction(trx: FdoPaymentTransactionV2Output): PortalChargebackTransaction; declare function toChargebackTransactions(trxs: FdoPaymentTransactionV2Output[]): PortalChargebackTransaction[]; export { toChargebackTransaction, toChargebackTransactions };