/** * Mexico TSC (Tarjetas de Servicio y Crédito) Transaction * * Specialized for service and credit card transactions. */ import type { tsc } from "@artu-ai/shared"; import { MexAVTransaction } from "../MexAVTransaction"; /** * Mexico TSC Transaction Model. * * Provides typed accessors for service/credit card transaction data. * * @example * ```typescript * if (txn instanceof MexTSCTransaction) { * console.log(`Card: ${txn.cardType}`); * console.log(`ID: ${txn.idNumber}`); * } * ``` */ export declare class MexTSCTransaction extends MexAVTransaction { /** * TSC-specific transaction data */ protected get tscData(): tsc.TSCTransactionData | undefined; /** * Card type (service or credit) */ get cardType(): string | undefined; /** * Card/account identifier */ get idNumber(): string | undefined; /** * Operation type (typically card consumption) */ get operationType(): string | undefined; /** * Whether this is a service card transaction */ get isServiceCard(): boolean; /** * Whether this is a credit card transaction */ get isCreditCard(): boolean; toString(): string; } import type { TransactionModel } from "../../../types"; /** * Check if transaction is a TSC (Tarjetas de Servicio y Crédito) transaction */ export declare function isMexTSCTransaction(txn: TransactionModel): txn is MexTSCTransaction;