export interface ForgeConfig {
    forgeRoot: string;
    configPath: string;
    /** Set when the configured forgeRoot did not exist and resolution fell
     *  back to this forgecli's bundled payload (testbench clone-portability:
     *  tracked configs carry another machine's global npm / plugin-cache
     *  path). Carries the original dangling path for diagnostics. */
    healedFrom?: string;
}
/**
 * Discover the forge plugin root AND return the config path so callers can
 * read other config fields (e.g. `project.name`) without re-scanning.
 * Returns null when no `.forge/config.json` is found or it lacks `paths.forgeRoot`.
 */
export declare function discoverForgeConfig(cwd?: string): ForgeConfig | null;
