/** * Mexico MPC Alert Model * * Alert model for Mutuo, Préstamos y Créditos activity. */ import type { mpc } from "@artu-ai/shared"; import { MexAVAlert, type MexAVAlertData } from "../MexAVAlert"; /** * MPC alert data */ export interface MexMPCAlertData extends MexAVAlertData { scopeData?: { MX?: { actividadVulnerable?: { MPC?: mpc.MPCAlertData; }; }; [key: string]: unknown; }; } /** * Mexico MPC Alert Model. * * Provides typed accessors for MPC-specific alert data. * * @example * ```typescript * if (alert instanceof MexMPCAlert) { * console.log(`Period: ${alert.mesReportado}`); * } * ``` */ export declare class MexMPCAlert extends MexAVAlert { /** * MPC-specific alert data */ protected get mpcData(): mpc.MPCAlertData | undefined; /** * Reporting period (YYYYMM format) * Lives at the AV level: scopeData.MX.actividadVulnerable.mesReportado */ get mesReportado(): string | undefined; /** * Reporting period as a formatted string (e.g., "January 2024") */ get formattedPeriod(): string | undefined; toString(): string; } import type { AlertModel } from "../../../types"; /** * Check if alert is an MPC (Mutuo, Préstamos y Créditos) alert */ export declare function isMexMPCAlert(alert: AlertModel): alert is MexMPCAlert;