8 lines
329 B
TypeScript
8 lines
329 B
TypeScript
import type { Notification } from "@/types/index.js";
|
|
import type { NotificationMessage } from "@/types/notificationMessage.js";
|
|
|
|
export interface INotificationProvider {
|
|
sendMessage: (notification: Notification, message: NotificationMessage) => Promise<boolean>;
|
|
sendTestAlert(notification: Notification): Promise<boolean>;
|
|
}
|