import { type ForgeConfig } from "./forge-root.js"; /** * Memoized variant of `discoverForgeConfig`. * * On the first call for a given `cwd` the function walks the directory tree * upward to locate `.forge/config.json`; subsequent calls for the same `cwd` * return the cached result immediately. * * @param cwd - Working directory to start the search from. * Defaults to `process.cwd()` (same default as the underlying * `discoverForgeConfig`). */ export declare function discoverForgeConfigCached(cwd?: string): ForgeConfig | null; /** * Clears all cached entries. * * Primarily for test isolation — call in `beforeEach`/`afterEach` to * prevent cache bleed between test cases that change the filesystem. */ export declare function clearForgeConfigCache(): void;