import { type CodingAgentId } from "./coding-agents.js"; export { claudeConfigDir } from "./coding-agents.js"; export type RuntimeId = CodingAgentId; export interface RuntimeSniffContext { env: NodeJS.ProcessEnv; home: string; platform?: NodeJS.Platform; /** The folder connect runs in; the process's own when absent. */ cwd?: string; } export interface RuntimeFound { id: RuntimeId; label: string; /** Full path to the agent's own command, when it is on PATH. */ executable?: string; /** The agent's own folder or file, when it is already on this computer. */ configPath?: string; /** Either signal is enough: an installed command, or the folder it keeps. */ found: boolean; } export declare const claudeChannelDir: (env: NodeJS.ProcessEnv, home: string) => string; /** Only explicit absolute PATH entries are searched; the working folder is never one. */ export declare const findExecutable: (name: string, env: NodeJS.ProcessEnv, platform?: NodeJS.Platform) => Promise; /** * Which agents are on this computer: the registry's install paths (Docker's * `os.Stat` on each `installCheckPaths` entry, first hit wins), plus the * agent's own command on PATH when it has one. Nothing is run. */ export declare const sniffRuntimes: (context: RuntimeSniffContext) => Promise; //# sourceMappingURL=runtime-sniff.d.ts.map