/**
* Where the aider runner's pieces live (monoes/monomind#383):
* - aider's own Python interpreter — the shim imports aider's scripting
* API, so it must run in aider's environment. Found from the `aider`
* entry point's shebang (uv tool / pipx / venv installs all write the
* absolute interpreter path there), else uv's default tool dir.
* - the shim itself, shipped next to this module (src/ or dist/).
* - the per-session state dir, outside any user repo.
* No subprocess is spawned to find any of them.
*/
/** The shim, at the same relative path in src/ and in dist/ (the build
* copies src/orgrt/aider/monomind_aider_shim.py into dist/src/orgrt/aider/). */
export declare function defaultShimPath(): string;
/** Per-session conversation files: `
/.json` (+ aider's own logs). */
export declare function defaultStateDir(env?: NodeJS.ProcessEnv): string;
/** `name` on PATH (or `name` itself when it already has a slash). */
export declare function findOnPath(name: string, pathVar: string | undefined): string | undefined;
/** The interpreter a `#!` line names, when it is a Python: `#!/abs/python`
* or `#!/usr/bin/env python3` (resolved on PATH). */
export declare function shebangPython(line: string, pathVar: string | undefined): string | undefined;
/**
* aider's own interpreter, or undefined when it cannot be located (the
* runner then falls back to the plain CLI). `MONOMIND_AIDER_PYTHON`
* overrides the lookup.
*/
export declare function resolveAiderPython(bin: string, env: NodeJS.ProcessEnv): string | undefined;
/** Whether `cwd` is inside a git work tree (a `.git` in it or above). */
export declare function insideGitRepo(cwd: string): boolean;
//# sourceMappingURL=aider-runner-resolve.d.ts.map