import type { ToolDefinition } from '@deepseek-ai/dsh-tools'; import type { PartnerStore } from '../store.js'; import { McpConnections } from './connections.js'; import { type McpCredentials } from './credentials.js'; import type { McpCatalog, McpConfig } from './domain.js'; export declare class McpService { private readonly store; private readonly vault; private readonly connections; private writes; constructor(store: PartnerStore, vault: McpCredentials, connections?: McpConnections); catalog(): McpCatalog; private serial; private server; save(input: unknown, id?: string): Promise; edit(id: string, reveal?: boolean): Promise<{ name: string; revision: number; config: McpConfig; }>; import(value: unknown): Promise; remove(id: string): Promise; bind(companionId: string, serverId: string, enabled: boolean): Promise; refresh(id: string): Promise; private discover; definitions(companionId: string): ToolDefinition[]; private authorize; close(): Promise; } export declare function mcpToolName(serverId: string, name: string): string; //# sourceMappingURL=service.d.ts.map