2026-01-18 16:59:38 +00:00
|
|
|
import type { Monitor, Notification, Alert, MonitorStatusResponse } from "@/types/index.js";
|
2026-01-18 06:02:07 +00:00
|
|
|
|
2026-01-18 16:59:38 +00:00
|
|
|
export interface INotificationProvider {
|
2026-01-19 18:58:17 +00:00
|
|
|
sendAlert: (notification: Notification, monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => Promise<boolean>;
|
2026-01-18 16:34:20 +00:00
|
|
|
sendTestAlert(notification: Notification): Promise<boolean>;
|
|
|
|
|
}
|