8 lines
436 B
TypeScript
8 lines
436 B
TypeScript
import { NotificationProvider, NotificationChannel } from './notification-provider.interface';
|
|
export declare class NotificationService {
|
|
private providers;
|
|
constructor();
|
|
registerProvider(channel: NotificationChannel, provider: NotificationProvider): void;
|
|
send(channel: NotificationChannel, to: string, subject: string, body: string, metadata?: any): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=notification.service.d.ts.map
|