/** * Mexico Alert Model * * Extends base Alert with Mexico-specific accessors. */ import type { MexAlertScopeData } from "@artu-ai/shared"; import { Alert, type AlertData } from "../Alert"; /** * Alert data with Mexico scope */ export interface MexAlertData extends AlertData { scopeData?: { MX?: MexAlertScopeData; [key: string]: unknown; }; } /** * Mexico Alert Model. * * Provides typed accessors for Mexico-specific data. * Extended by MexAVAlert. * * @example * ```typescript * if (alert instanceof MexAlert) { * console.log(`Activities: ${alert.activityCodes.join(", ")}`); * } * ``` */ export declare class MexAlert extends Alert { /** * Mexico-specific scope data */ protected get mexicoData(): MexAlertScopeData | undefined; /** * Whether this alert is for an Actividad Vulnerable */ get isActividadVulnerable(): boolean; /** * Activity codes with data in this alert */ get activityCodes(): string[]; /** * CNBV sujeto codes with data in this alert */ get cnbvSujetoCodes(): string[]; /** * Checks if alert has data for a specific CNBV sujeto */ hasCNBVSujeto(code: string): boolean; toString(): string; } import type { AlertModel } from "../types"; /** * Check if alert is a Mexico alert */ export declare function isMexAlert(alert: AlertModel): alert is MexAlert;