import type { IAgentSession } from '../agent/types.js'; import { McpManager } from '../agent/mcp/index.js'; import type { TraceWriter } from '../agent/trace/index.js'; export interface LoadTelegramMcpManagerOptions { traceWriter?: TraceWriter; } export declare function loadTelegramMcpManager(cwd: string | undefined, opts?: LoadTelegramMcpManagerOptions): Promise; export declare function attachMcpCleanup(session: T, mcpManager: McpManager | undefined): T;