import type { AnyTool } from '../../types/effectTool.js'; /** * Structural shape of an AI SDK `tool()` result. Intentionally decoupled from the * nominal `import('ai').Tool` type so a tool produced by *any* `ai` instance/version * in the consumer's tree is accepted (avoids cross-instance nominal mismatches). */ interface AiSdkToolLike { description?: unknown; inputSchema?: unknown; execute?: unknown; } /** * Adapt a third-party AI SDK tool into a durable Kuralle effect tool so its `execute` * runs through the journal (exactly-once on replay). Throws on a schema-only tool * (no `execute`) — use `defineTool` for those. */ export declare function wrapAiSdkTool(name: string, aiTool: AiSdkToolLike): AnyTool; export {};