export interface IWebhookDispatcherData { [key: string]: unknown; } export interface IWebhookDispatcher { dispatch(eventName: string, data: T): Promise; } /** Routes a domain event to all matching enabled webhooks via background tasks. */ export declare const WebhookDispatcher: import("@webiny/di").Abstraction; export declare namespace WebhookDispatcher { type Interface = IWebhookDispatcher; type Data = IWebhookDispatcherData; }