export type SmsAlertMode = "off" | "important-only" | "all"; export type SmsQuietHours = { enabled: boolean; startMinute: number; endMinute: number; timezone?: string; }; export type SmsPolicyRecord = { target: string; paused: boolean; pausedUntil: number | null; stopEnabled: boolean; alertMode: SmsAlertMode; quietHours: SmsQuietHours | null; createdAt: number; updatedAt: number; }; export type SmsPolicyPatch = { paused?: boolean; pausedUntil?: number | null; stopEnabled?: boolean; alertMode?: SmsAlertMode; quietHours?: unknown; }; export type SmsPolicyStore = { load: () => SmsPolicyRecord[]; save: (records: SmsPolicyRecord[]) => void; list: () => SmsPolicyRecord[]; get: (target: string) => SmsPolicyRecord | null; resolve: (target: string, nowMs?: number) => SmsPolicyRecord; upsert: (target: string, patch: SmsPolicyPatch, nowMs?: number) => SmsPolicyRecord; reset: (target: string) => void; isPaused: (target: string, nowMs?: number) => boolean; isStopped: (target: string, nowMs?: number) => boolean; }; export declare function normalizeSmsPolicyTarget(raw: string): string | null; export declare const createSmsPolicyStore: (resolveConfigDirPath: () => string) => SmsPolicyStore;