/** * Webhook emitter — sends vault events to external HTTP endpoints. * * Features: * - Fire-and-forget (non-blocking, catches errors) * - Optional HMAC-SHA256 signature header (X-Vault-Signature) * - Configurable timeout * - One retry with 2s delay on failure * - Multiple URLs (comma-separated) */ import type { VaultEvent } from "./events.js"; export interface WebhookConfig { /** Comma-separated webhook URLs */ urls: string[]; /** HMAC signing secret (optional) */ secret?: string; /** HTTP timeout in ms */ timeoutMs: number; } export declare class WebhookEmitter { private config; constructor(config: WebhookConfig); /** * Send event to all configured webhook URLs. * Fire-and-forget — errors are logged but never thrown. */ send(event: VaultEvent): Promise; private sendToUrl; } //# sourceMappingURL=webhooks.d.ts.map