import type { ToolCall, ToolResult } from "@kenkaiiii/gg-ai"; import { type ReadTracker } from "./read-tracker.js"; import type { ToolOperations } from "./operations.js"; /** Paths a command prints in full, or [] when it is not a pure file dump. */ export declare function catTargets(command: string): string[]; /** A line-range view of one literal file path; `end` undefined means "to EOF". */ interface RangeTarget { target: string; start: number; end: number; } /** * Line-range views a command prints: `sed -n 'A,Bp' FILE`, `sed -n 'Ap' FILE`, * `head -N FILE` and `head -n N FILE`. Exactly one literal file per command, * nothing piped or redirected — the output must be the raw lines. */ export declare function rangeTargets(command: string): RangeTarget[]; /** * Record reads proven by one step's bash calls. Call with the tool results * exactly as appended to the transcript (post-trim). */ export declare function recordBashReads(tracker: ReadTracker, cwd: string, ops: ToolOperations, toolCalls: readonly ToolCall[], toolResults: readonly ToolResult[]): Promise; export {};