import { RequestContext } from '../logging'; import { TelegramConfig, Report } from '../helpers'; /** * Creates a formatted message for Telegram alerts * @param report The report to create the message from * @param isResolved Whether the alert is being resolved * @returns Formatted message string */ export declare const createTelegramMessage: (report: Report, isResolved: boolean) => string; /** * Sends alerts to telegram using axiosPost * @param report The report that will be sent in the alert * @param telegram The telegram config * @param requestContext The request context for the logger * @returns The response from telegram api */ export declare const alertTelegram: (report: Report, telegram: TelegramConfig, requestContext: RequestContext) => Promise; /** * Sends alerts to telegram using axiosPost indicating a report has been resolved * @param report The report that will be sent in the alert * @param telegram The telegram config * @param requestContext The request context for the logger * @returns The response from telegram api */ export declare function resolveTelegramAlert(report: Report, telegram: TelegramConfig, requestContext: RequestContext): Promise; //# sourceMappingURL=telegram.d.ts.map