import { Express } from 'express'; import { BaseEventController, BaseEventControllerOptions } from './BaseEventController'; interface WebhookControllerOptions extends BaseEventControllerOptions { storageController: BaseEventController; } interface CreateWebhookActionArgs { namespace: string; name: string; methods?: string; _status?: string; _response?: string; _headers?: Iterable; _message?: string; } interface CreateWebhookResult { id: string; namespace: string; name: string; } declare class WebhookController extends BaseEventController { private options; name: string; private storage; constructor(options: WebhookControllerOptions); init(app: Express): Promise; action(name: string, args: CreateWebhookActionArgs): Promise; _createWebhookAction(args: { namespace: string; name: string; methods?: string; _status?: string; _response?: string; _headers?: Iterable; _message?: string; }): Promise; } export { WebhookController, WebhookControllerOptions, };