export type { McpRpcError, McpSpawnSpec, McpTimeoutError, McpToolInfo, } from './tool-providers-client.js'; export { MCP_PROTOCOL_VERSION, McpStdioClient } from './tool-providers-client.js'; export type { RoleProviderToolSet } from './tool-providers-hub.js'; export { ToolProviderHub } from './tool-providers-hub.js'; export type { ProviderContext } from './tool-providers-process.js'; export { providerPrefix, roleProviderPrefixes } from './tool-providers-process.js'; export { jsonSchemaCatchall, jsonSchemaToZod, jsonSchemaToZodShape, } from './tool-providers-schema.js'; export interface ChainTrace { chain_id: string; hop: number; } export interface ToolCallTrace extends ChainTrace { org: string; run: string; role: string; } /** The `[trace chn_ hop=]` line of a message body, if any. */ export declare function parseTraceLine(body: string): ChainTrace | undefined; /** `chn_` + 20 random [a-z0-9]. */ export declare function freshChainId(): string; /** MCP `tools/call` result → tool text: text parts joined with '\n', * non-text parts as `[ omitted]`, `isError: true` → `ERROR: ` prefix. */ export declare function mapToolResult(result: unknown): string; //# sourceMappingURL=tool-providers.d.ts.map