/** * Shared MCP configuration for Z.AI services */ export declare const MCP_MANUAL_NAME = "scoutline.zai"; export declare const MCP_SERVERS: { readonly vision: "vision"; readonly search: "search"; readonly reader: "reader"; readonly zread: "zread"; }; export type McpServerName = keyof typeof MCP_SERVERS; export interface McpTemplateOptions { enableVision?: boolean; /** * T2b — Credential view: the resolved environment built in `main` * (injected env + file-configured keys). When omitted, ambient * `process.env` is used, preserving the source-level contract for * existing callers. The credential, mode, base URL, timeout, and * every Vision-MCP operator knob are read from this view so a * wizard-written key reaches the real registration template without * touching `process.env`. */ env?: NodeJS.ProcessEnv; } export declare function buildMcpCallTemplate(options?: McpTemplateOptions): { name: string; call_template_type: string; config: { mcpServers: Record; }; register_resources_as_tools: boolean; }; export declare function getMcpToolName(server: McpServerName, tool: string): string; /** * UTCP-sanitized form of {@link MCP_MANUAL_NAME}. UTCP rewrites the dots * in the manual-segment name to underscores during registration, so every * discovered tool name begins with this prefix. The public dotted form is * what callers see; the internal sanitized form is what UTCP accepts at * invocation time. The translation between the two lives in the Z.AI * Implementation; central `getMcpToolName` is unchanged. */ export declare const MCP_INTERNAL_NAME_PREFIX = "scoutline_zai"; /** * Project an internal (UTCP-sanitized) tool name to its stable public * dotted form. Only the manual-segment prefix is rewritten; tool leaf * names and server segments pass through verbatim. Unknown shapes * (custom tools registered without the manual prefix) are returned * unchanged so callers still see them. */ export declare function projectInternalToolName(internalName: string): string; //# sourceMappingURL=mcp-config.d.ts.map