export declare function spawnBackground(command: string, cwd: string): string; export declare function readBackground(shellId: string, opts?: { sinceLines?: number; }): string; export declare function killBackground(shellId: string): string; export declare function listBackground(): string; /** Snapshot estructurado para el sidebar — solo procesos activos (running). */ export declare function snapshotBackground(): Array<{ id: string; command: string; status: 'running' | 'exited' | 'killed'; exitCode: number | null; ageS: number; }>; /** Mata todos los procesos en background (cleanup al salir del REPL). */ export declare function killAllBackground(): void; //# sourceMappingURL=background.d.ts.map