import { CallbackProcessor } from '@sinch/sdk-client'; import { IncomingHttpHeaders } from 'http'; import { FaxWebhookEventParsed } from '../../../models'; export declare class FaxCallbackWebhooks implements CallbackProcessor { /** * Reviver for a Fax Event * This method ensures the object can be treated as a Fax Event and should be called before any action is taken to manipulate the object. * @param {any} eventBody - the event body or form containing the Fax event notification. * @return {FaxWebhookEventParsed} - The parsed Fax event object */ parseEvent(eventBody: any): FaxWebhookEventParsed; private reviveFax; validateAuthenticationHeader(_headers: IncomingHttpHeaders, _body: any, _path: string, _method: string): boolean; /** * Static reviver for a Fax Event. * This method ensures the object can be treated as a Fax Event. * @param {any} eventBody - The event body containing the Fax event notification. * @return {FaxWebhookEventParsed} - The parsed Fax event object */ static parseEvent(eventBody: any): FaxWebhookEventParsed; }