import { D2ApiGeneric } from "./d2Api"; import { D2ApiResponse } from "./common"; export declare class Email { d2Api: D2ApiGeneric; constructor(d2Api: D2ApiGeneric); sendSystemNotification(message: NotificationMessage): D2ApiResponse; sendMessage(message: OutboundMessage): D2ApiResponse; sendTestMessage(): D2ApiResponse; } export declare type OutboundMessage = { recipients: string[]; subject?: string; text: string; }; export declare type NotificationMessage = { subject: string; text: string; };