import { FinishFileSpec } from './types.js'; import '../../utils/resilience.js'; /** Parse "lines" string from read tool (e.g. "1-50" or "1-20,45-80") into structured args */ declare function parseReadLines(linesStr: string): { start?: number; end?: number; lines?: Array<[number, number]>; }; /** Parse "files" string from finish tool (e.g. "src/auth.py:1-50\nsrc/user.py" or space-separated) into FinishFileSpec[] */ declare function parseFinishFiles(filesStr: string): FinishFileSpec[]; /** Extract directory path from a list_directory command string (e.g. "ls -la src/" → "src/") */ declare function extractPathFromCommand(command: string): string; export { extractPathFromCommand, parseFinishFiles, parseReadLines };