/**
 * HardKill implementation for gemini-cli.
 *
 * SIGTERM→SIGKILL escalation on a process pid — the framework-agnostic
 * process-level kill (analog of openai-codex/control/hardKill.ts, but the
 * codex one targets a tmux session because codex's agentic path runs inside
 * tmux). The minimal Gemini body runs one-shot spawns directly (no tmux
 * REPL), so the honest unit of force-termination is the child process pid,
 * encoded in the SessionHandle as `gemini-cli/pid-<n>` (see sessionId.pidHandle).
 *
 * A handle that is not a pid handle resolves to a no-op (nothing to kill) —
 * the adapter never claims to kill a session it has no process for.
 */
import type { SessionHandle } from '../../../types.js';
import type { HardKill } from '../../../primitives/control/hardKill.js';
/** Extract the pid from a `gemini-cli/pid-<n>` handle, or null. */
export declare function pidFromHandle(session: SessionHandle): number | null;
export declare function createHardKill(): HardKill;
//# sourceMappingURL=geminiHardKill.d.ts.map