/** * Mexico INM Alert Model * * Alert model for Inmuebles (Real Estate Sale/Purchase) activity. */ import type { inm } from "@artu-ai/shared"; import { MexAVAlert, type MexAVAlertData } from "../MexAVAlert"; /** * INM alert data */ export interface MexINMAlertData extends MexAVAlertData { scopeData?: { MX?: { actividadVulnerable?: { INM?: inm.INMAlertData; }; }; [key: string]: unknown; }; } /** * Mexico INM Alert Model. * * Provides typed accessors for INM-specific alert data. * * @example * ```typescript * if (alert instanceof MexINMAlert) { * console.log(`Period: ${alert.mesReportado}`); * } * ``` */ export declare class MexINMAlert extends MexAVAlert { /** * INM-specific alert data */ protected get inmData(): inm.INMAlertData | 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 INM (Inmuebles) alert */ export declare function isMexINMAlert(alert: AlertModel): alert is MexINMAlert;