import { r as KlawConfig } from "../types.klaw-xKUw_Rz7.js"; import { n as SessionMcpRuntime, r as SessionMcpRuntimeManager } from "../pi-bundle-mcp-types-RFXuZqOK.js"; import { jsonSchemaValidator } from "@modelcontextprotocol/sdk/validation/types.js"; //#region src/agents/pi-bundle-mcp-runtime.d.ts type CreateSessionMcpRuntime = (params: Parameters[0] & { configFingerprint?: string; }) => SessionMcpRuntime; declare function createBundleMcpJsonSchemaValidator(): jsonSchemaValidator; declare function resolveSessionMcpRuntimeIdleTtlMs(cfg?: KlawConfig): number; declare function createSessionMcpRuntime(params: { sessionId: string; sessionKey?: string; workspaceDir: string; cfg?: KlawConfig; }): SessionMcpRuntime; declare function createSessionMcpRuntimeManager(opts?: { createRuntime?: CreateSessionMcpRuntime; now?: () => number; enableIdleSweepTimer?: boolean; idleSweepIntervalMs?: number; }): SessionMcpRuntimeManager; declare function getSessionMcpRuntimeManager(): SessionMcpRuntimeManager; declare function getOrCreateSessionMcpRuntime(params: { sessionId: string; sessionKey?: string; workspaceDir: string; cfg?: KlawConfig; }): Promise; declare function disposeSessionMcpRuntime(sessionId: string): Promise; declare function retireSessionMcpRuntime(params: { sessionId?: string | null; reason: string; onError?: (error: unknown, sessionId: string, reason: string) => void; }): Promise; declare function retireSessionMcpRuntimeForSessionKey(params: { sessionKey?: string | null; reason: string; onError?: (error: unknown, sessionId: string, reason: string) => void; }): Promise; declare function disposeAllSessionMcpRuntimes(): Promise; declare const testing: { createSessionMcpRuntimeManager: typeof createSessionMcpRuntimeManager; resetSessionMcpRuntimeManager(): Promise; getCachedSessionIds(): string[]; resolveSessionMcpRuntimeIdleTtlMs: typeof resolveSessionMcpRuntimeIdleTtlMs; }; //#endregion export { testing as __testing, testing, createBundleMcpJsonSchemaValidator, createSessionMcpRuntime, disposeAllSessionMcpRuntimes, disposeSessionMcpRuntime, getOrCreateSessionMcpRuntime, getSessionMcpRuntimeManager, retireSessionMcpRuntime, retireSessionMcpRuntimeForSessionKey };