/// import { type ChildProcessWithoutNullStreams } from 'child_process'; /** * Input used to start one temporary logged Bash script. * * @private internal type of `$spawnLoggedBashScript` */ type SpawnLoggedBashScriptOptions = { /** Per-invocation cwd, shared by the primary harness and its advisers. */ readonly projectPath?: string; readonly scriptPath: string; readonly logPath?: string; /** Whether shell startup loads login profiles; harnesses retain the default login shell. */ readonly isLoginShell?: boolean; /** * Process which owns the temporary harness shell. Defaults to the current coder process. */ readonly parentProcessId?: number; }; /** * Starts one temporary Bash script in a process tree owned by the current Node process. * * The wrapper watches the supplied owning process ID. When that process exits abruptly, the wrapper terminates every * nested shell and harness process instead of leaving it orphaned. * * @private internal utility of the coding prompt runner */ export declare function $spawnLoggedBashScript(options: SpawnLoggedBashScriptOptions): ChildProcessWithoutNullStreams; export {};