import * as _knocklabs_node_resources_workflows_mjs from '@knocklabs/node/resources/workflows.mjs'; import { K as KnockClient, C as Config } from './index-qFGypkX3.js'; import { K as KnockOutboundWebhookEvent, D as DeferredToolCallInteractionResult, a as DeferredToolCall, b as DeferredToolCallConfig } from './types-kR5zfaEk.js'; export { c as DeferredToolCallWorkflowData } from './types-kR5zfaEk.js'; import 'zod'; import '@knocklabs/mgmt'; import '@knocklabs/node'; import '@knocklabs/mgmt/resources.js'; import '@knocklabs/node/resources.js'; declare function wrapToolDescription(description: string): string; /** * Triggers a human in the loop workflow. * * @param knockClient - The Knock client to use. * @param toolCall - The tool call to trigger. * @param config - The configuration to use. */ declare function triggerHumanInTheLoopWorkflow({ knockClient, config, toolCall, inputConfig, }: { knockClient: KnockClient; config: Config; toolCall: DeferredToolCall; inputConfig: DeferredToolCallConfig; }): Promise<_knocklabs_node_resources_workflows_mjs.WorkflowTriggerResponse>; /** * Given an outboundwebhook event, this function will parse the event into a normalized format. * * If the event is not associated with a deferred tool call, this function will return null. * * @param event - The outbound webhook event * @returns A deferred tool call interaction result, or null if the event is not a deferred tool call */ declare function handleMessageInteraction(event: KnockOutboundWebhookEvent): DeferredToolCallInteractionResult | null; export { DeferredToolCall, DeferredToolCallConfig, DeferredToolCallInteractionResult, KnockOutboundWebhookEvent, handleMessageInteraction, triggerHumanInTheLoopWorkflow, wrapToolDescription };