import { Session, type SessionOptions } from "./session.js"; import type { SessionInfo } from "./types.js"; export declare class SessionManager { private sessions; private idleTimeoutMs; private sweepTimer?; constructor(idleTimeoutMs?: number); launch(command: string, args?: string[], options?: SessionOptions): string; get(sessionId: string): Session; list(): SessionInfo[]; close(sessionId: string): void; closeAllSessions(): number; closeAll(): void; sweepIdle(): void; }