/** * Mexico JYS Alert Model * * Alert model for Juegos y Sorteos (Games and Raffles) activity. */ import type { jys } from "@artu-ai/shared"; import { MexAVAlert, type MexAVAlertData } from "../MexAVAlert"; /** * JYS alert data */ export interface MexJYSAlertData extends MexAVAlertData { scopeData?: { MX?: { actividadVulnerable?: { JYS?: jys.JYSAlertData; }; }; [key: string]: unknown; }; } /** * Mexico JYS Alert Model. * * Provides typed accessors for JYS-specific alert data. * * @example * ```typescript * if (alert instanceof MexJYSAlert) { * console.log(`Period: ${alert.mesReportado}`); * } * ``` */ export declare class MexJYSAlert extends MexAVAlert { /** * JYS-specific alert data */ protected get jysData(): jys.JYSAlertData | 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 a JYS (Juegos y Sorteos) alert */ export declare function isMexJYSAlert(alert: AlertModel): alert is MexJYSAlert;