import { TerminalSession } from "./terminal-session.js"; export interface NewSessionOptions { command: string; args?: string[]; cwd?: string; env?: Record; cols?: number; rows?: number; observe?: boolean; } export declare class TerminalPilot { private readonly sessionMap; static launch(): Promise; newSession(opts: NewSessionOptions): Promise; getSession(id: string): TerminalSession; deleteSession(id: string): void; sessions(): TerminalSession[]; close(): Promise; }