/**
 * User-authored tool-location config — `.dxkit/tools.json`.
 *
 * Lets a developer point dxkit at tool binaries that don't live in any
 * of the default probe locations, and choose where `tools install`
 * drops them. The motivating case is locked-down or non-standard
 * environments (corporate Windows boxes, air-gapped CI) where the
 * scanner toolchain is installed into a project- or team-specific
 * directory rather than `~/.local/bin` / the npm global prefix / brew.
 *
 * Shape (every field optional):
 *
 *   {
 *     "probePaths": ["D:\\devtools\\bin", "/opt/team/bin"],
 *     "installDir": "D:\\devtools\\bin"
 *   }
 *
 *   - `probePaths` — extra directories `findTool` searches (PATHEXT-aware
 *     on Windows) AFTER PATH / brew / npm-g / pipx / system probes. A
 *     hit here reports the tool as available with `source: 'probe'`.
 *   - `installDir` — directory `tools install` targets, injected into the
 *     per-ecosystem install command via the ecosystem's bin-dir env var
 *     / flag. Implies a matching `probePaths` entry so the freshly
 *     installed binary is immediately discoverable.
 *
 * The file is optional and hand-authored (or written by the
 * `dxkit-config` skill). Absent / malformed → empty config, never an
 * error: tool detection must degrade gracefully, not crash.
 */
export interface ToolsConfig {
    /** Extra directories to search for tool binaries. */
    readonly probePaths: string[];
    /** Target directory for `tools install`, or null when unset. */
    readonly installDir: string | null;
}
/** Location of the config inside a project. */
export declare function toolsConfigPath(cwd: string): string;
/** Test seam: drop the cache so per-test fixtures don't leak. */
export declare function clearToolsConfigCache(): void;
/**
 * Load `.dxkit/tools.json` for `cwd`. Returns an empty config when the
 * file is absent or unparseable — detection never depends on this file
 * existing.
 */
export declare function loadToolsConfig(cwd: string): ToolsConfig;
//# sourceMappingURL=tools-config.d.ts.map