import { type TSchema } from '@sinclair/typebox'; import type { BusGateway } from '../bus/gateway.js'; import type { Dispatcher } from '../notifier/dispatcher.js'; interface ToolResult { content: { type: 'text'; text: string; }[]; } interface ToolDefinition { name: string; description: string; parameters: TSchema; execute: (toolCallId: string, params: Record, signal?: AbortSignal) => Promise; } interface PluginAPI { registerTool(tool: ToolDefinition, options?: { optional?: boolean; }): void; } export interface ToolDeps { gateway: BusGateway; dispatcher: Dispatcher; } export declare function registerKorbusTools(api: PluginAPI, deps: ToolDeps): void; export {}; //# sourceMappingURL=tools.d.ts.map