import type { ChildProcess } from 'child_process'; /** * SIGKILL への段階的エスカレーションをスケジュールする。 * CHAT_SIGKILL_DELAY 経過後もプロセスが生存していれば SIGKILL を送る。 */ export declare function scheduleForceKill(child: ChildProcess, cliLabel: string): NodeJS.Timeout; /** SIGTERM を送り、応答がなければ SIGKILL にエスカレーションする */ export declare function killWithEscalation(child: ChildProcess, cliLabel: string): NodeJS.Timeout; /** * CLI 子プロセス用の kill 関数を生成する。 * 既に kill 済みなら何もせず、そうでなければログを出して * {@link killWithEscalation}(SIGTERM → SIGKILL)を実行する。 * claude / codex ランナーで共通の kill クロージャを一元化する。 */ export declare function makeKillFn(child: ChildProcess, cliLabel: string): () => void; //# sourceMappingURL=cli-process-kill.d.ts.map