import { getClaudeCodeLocations } from "./claudeCode.js"; import { getCodexLocations } from "./codex.js"; /** Where a copy of a harness CLI was found. */ type CliSource = "terminal" | "desktop" | "vscode"; /** A copy of a harness CLI and the first line it prints for `--version`. */ export type Cli = { source: CliSource; path: string; version: string; }; /** Where to look for harness CLIs. */ export type Places = { home: string; /** Directories separated like `$PATH`. */ path: string; /** Where macOS apps are installed, `/Applications`. */ applications: string; }; /** Builds `getNewestHarnessLocations` from the given location getters, so tests can pass fixed locations. */ export declare const createGetNewestHarnessLocations: (getters: { getCodexLocations: () => Promise; getClaudeCodeLocations: () => Promise; }) => () => Promise<{ codex: Cli | undefined; claudeCode: Cli | undefined; }>; /** The newest copy of each harness's CLI on this machine, or `undefined` for a harness that isn't installed. */ export declare const getNewestHarnessLocations: () => Promise<{ codex: Cli | undefined; claudeCode: Cli | undefined; }>; export {}; //# sourceMappingURL=harness.d.ts.map