type FormEventType = "response.submitted" | "schema.updated"; interface FormEvent { readonly id: string; readonly type: FormEventType; readonly formId: string; readonly timestamp: string; readonly payload: T; } interface WebhookConfig { readonly url: string; readonly secret?: string; readonly headers?: Readonly>; readonly timeoutMs?: number; } interface WebhookDispatchResult { readonly success: boolean; readonly status?: number; readonly error?: string; } declare function dispatchWebhook(event: FormEvent, config: WebhookConfig, fetchImpl?: typeof fetch): Promise; export { type FormEvent, type FormEventType, type WebhookConfig, type WebhookDispatchResult, dispatchWebhook };