/** * Source-defined webhooks for Veryfront projects. * * @module webhook * * @example Run a workflow for urgent customer events * ```ts * import { webhook } from "veryfront/webhook"; * * export default webhook({ * id: "customer-escalation", * target: { kind: "workflow", id: "escalate-ticket" }, * eventFilter: { * mode: "any", * conditions: [ * { path: "severity", operator: "equals", value: "high" }, * { path: "priority", operator: "equals", value: "urgent" }, * ], * }, * }); * ``` */ import "../../_dnt.polyfills.js"; export { webhook } from "./factory.js"; export { discoverWebhooks } from "./discovery.js"; export { prepareWebhookInvocation } from "./runtime.js"; export { isWebhookId } from "./validation.js"; export type { WebhookAgentConversationMode, WebhookAgentMessageMapping, WebhookConfig, WebhookDefinition, WebhookEventFilter, WebhookEventFilterCondition, WebhookEventFilterMode, WebhookEventFilterOperator, } from "./types.js"; export { isWebhookDefinition } from "./types.js"; export type { WebhookDiscoveryOptions, WebhookDiscoveryResult } from "./discovery.js"; export type { PreparedWebhookInvocation } from "./runtime.js"; //# sourceMappingURL=index.d.ts.map