/** * Notification Manager (v1.1.0) * * Unified interface for dispatching notifications to Slack, Discord, or both. * Extensible for future channels (email, Teams, etc.) */ import type { DuplicateAlert, ImpactAlert, WeeklyDigest, Notifier } from './types.js'; export type { DuplicateAlert, ImpactAlert, WeeklyDigest, Notifier }; export declare class NotificationManager { private notifiers; /** * Register a notification channel */ addNotifier(notifier: Notifier): void; /** * Get count of registered notifiers */ getNotifierCount(): number; /** * Dispatch a duplicate alert to all channels */ notifyDuplicate(alert: DuplicateAlert): Promise; /** * Dispatch an impact alert to all channels * Only sends for high/critical risk by default */ notifyImpact(alert: ImpactAlert, minRiskLevel?: string): Promise; /** * Dispatch an active rule violation to all channels */ notifyRuleViolation(alert: import('./types.js').RuleViolationAlert): Promise; /** * Send weekly digest to all channels */ sendWeeklyDigest(digest: WeeklyDigest): Promise; /** * Test all notification channels */ testAll(): Promise>; private logFailures; } export { SlackNotifier } from './slack.js'; export type { SlackConfig } from './slack.js'; export { DiscordNotifier } from './discord.js'; export type { DiscordConfig } from './discord.js'; //# sourceMappingURL=index.d.ts.map