export interface Webhook { id: string; name: string; url: string; headers: Record; events: string[]; isEnabled: boolean; } export interface WebhookStore { allowedEvents: Map; addAllowedEvent(key: string, value: string): void; removeAllowedEvent(key: string): void; listAllowedEvents(): string[]; getAllowedEvent(key: string): string | undefined; findWebhooks(): Promise; findWebhook(id: string): Promise; createWebhook(data: Webhook): Promise; updateWebhook(id: string, data: Webhook): Promise; deleteWebhook(id: string): Promise; } //# sourceMappingURL=webhook-store.d.ts.map