import type { BridgePeer } from './bridge-peers.js'; import { type McpPostOptions } from './bridge-mcp-events.js'; export interface McpToolError { ok: false; code: number; message: string; reason?: string; } export declare function agimCreateRun(peer: BridgePeer, raw: unknown): { ok: true; result: Record; } | McpToolError; export declare function agimGetRun(peer: BridgePeer, raw: unknown): { ok: true; result: Record; } | McpToolError; export declare function agimCancelRun(peer: BridgePeer, raw: unknown): { ok: true; result: Record; } | McpToolError; export declare const MCP_BRIDGE_TOOLS: readonly [{ readonly name: "agim_create_run"; readonly description: "Create a bridge run for agent agim. The full result is read with agim_get_run."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly agent: { readonly type: "string"; }; readonly prompt: { readonly type: "string"; }; readonly timeoutMs: { readonly type: "integer"; }; readonly idempotencyKey: { readonly type: "string"; }; readonly correlationId: { readonly type: "string"; }; }; readonly required: readonly ["agent", "prompt", "timeoutMs", "idempotencyKey"]; readonly additionalProperties: false; }; }, { readonly name: "agim_get_run"; readonly description: "Read a bridge run, including the full result text."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly runId: { readonly type: "string"; }; }; readonly required: readonly ["runId"]; readonly additionalProperties: false; }; }, { readonly name: "agim_cancel_run"; readonly description: "Cancel a bridge run."; readonly inputSchema: { readonly type: "object"; readonly properties: { readonly runId: { readonly type: "string"; }; }; readonly required: readonly ["runId"]; readonly additionalProperties: false; }; }]; export declare function dispatchBridgeMcp(method: string, params: unknown, ctx: { peer: BridgePeer; }, opts?: McpPostOptions): Promise<{ ok: true; result: unknown; } | McpToolError>; //# sourceMappingURL=bridge-mcp-tools.d.ts.map