import { DeliveryReport, MOBinary, MOMedia, MOText, RecipientDeliveryReport } from '../../../models'; import { CallbackProcessor } from '@sinch/sdk-client'; import { IncomingHttpHeaders } from 'http'; export type SmsCallback = DeliveryReport | RecipientDeliveryReport | MOText | MOBinary | MOMedia; export declare class SmsCallbackWebhooks implements CallbackProcessor { private readonly appSecret; constructor(appSecret?: string); validateAuthenticationHeader(headers: IncomingHttpHeaders, body: any, _path?: string, _method?: string): boolean; /** * Reviver for an SMS Event. * This method ensures the object can be treated as an SMS Event and should be called before any action is taken to manipulate the object. * @param {any} eventBody - The event body containing the SMS event notification. * @return {SmsCallback} - The parsed SMS event object */ parseEvent(eventBody: any): SmsCallback; /** * Static reviver for an SMS Event. * This method ensures the object can be treated as an SMS Event. * @param {any} eventBody - The event body containing the SMS event notification. * @return {SmsCallback} - The parsed SMS event object */ static parseEvent(eventBody: any): SmsCallback; }