/** * Mexico VEH (VehĂ­culos) Transaction * * Specialized for vehicle sale/exchange transactions. */ import type { veh } from "@artu-ai/shared"; import { MexAVTransaction } from "../MexAVTransaction"; /** * Mexico VEH Transaction Model. * * VEH transactions carry a `vehicles[]` array (a 3-variant discriminated union: * terrestre / maritimo / aereo) and an optional `payments[]` array * (datos_liquidacion), required unless operationType === "805" (Intercambio). */ export declare class MexVEHTransaction extends MexAVTransaction { /** VEH-specific transaction data */ protected get vehData(): veh.VEHTransactionData | undefined; /** Operation type: "801" (Venta nuevo), "802" (Venta usado), "805" (Intercambio) */ get operationType(): string | undefined; /** Postal code where the operation took place */ get postalCode(): string | undefined; /** Vehicles involved in this transaction (>= 1 on a valid create). */ get vehicles(): veh.Vehicle[]; /** Whether this transaction has any vehicles. */ get hasVehicles(): boolean; /** Total number of vehicles. */ get vehicleCount(): number; /** Payments (datos_liquidacion) for this transaction. Empty for 805. */ get payments(): veh.VEHPaymentData[]; /** Whether this transaction has any payments. */ get hasPayments(): boolean; /** Total number of payments. */ get paymentsCount(): number; /** Total payment amount across all payments. */ get totalPaymentAmount(): number; toString(): string; } import type { TransactionModel } from "../../../types"; /** Check if transaction is a VEH (VehĂ­culos) transaction */ export declare function isMexVEHTransaction(txn: TransactionModel): txn is MexVEHTransaction;