import { Webhook, WebhookEvents } from "../types";
import { Request, Response } from "express";
export declare const webhookHandler: (body: Webhook, { onError, onMessageReceived, onStatusReceived, onTextMessageReceived, }: Omit<WebhookEvents, "onStartListening">) => void;
export declare const postWebhookController: (events: WebhookEvents) => (req: Request, res: Response) => Response<any, Record<string, any>>;
export declare const getWebhookController: (token: string) => (req: Request, res: Response) => Response<any, Record<string, any>>;
