import { EventLogLevel, JSONObject, Mail } from '../util/types'; import { PermissionModel } from './model.permission'; /** * Sends an email using the provided parameters. * * @param params - The parameters for sending the email. * @return A promise that resolves to true if the email was sent successfully, and false otherwise. */ export declare function sendMail(params: Mail): Promise; /** * Sends an SMS message. * * @param message - The content of the SMS message. * @return A promise that resolves to true if the SMS was sent successfully, and false otherwise. */ export declare function sendSMS(message: string): Promise; /** * Notifies the user with a message at a specified log level and optional data. * * @param message - The message to be displayed to the user. * @param level - The log level of the message (optional). * @param data - Additional data to be included with the message (optional). * @return A promise that resolves when the notification is created. */ export declare function notify(message: string, level?: EventLogLevel, data?: JSONObject): Promise; export declare class SendNotification extends PermissionModel { static endpoint: string; static attributes: string[]; custom: { message: string; level: string; data?: JSONObject; }; constructor(message: string, level?: EventLogLevel, data?: JSONObject); getAttributes(): string[]; }