/**
 * RotHunter configuration — one file per linked-workspaces group.
 *
 * Discovered at scan time by `loadRotHunterConfig(workspaceRoot)`. Looks for
 * `rothunter.config.json` in the workspace root, then in `.rothunter/config.json`.
 * Returns null if no config is present (single-workspace mode).
 *
 * Schema:
 *   {
 *     "workspaces": [
 *       { "path": ".",            "name": "backend",  "package": "@org/backend" },
 *       { "path": "../frontend",  "name": "frontend", "package": "@org/frontend" }
 *     ]
 *   }
 *
 *  - `path` is relative to the config file's directory (or absolute).
 *  - `name` is a stable logical identifier used as a path prefix in
 *    findings + fingerprints.
 *  - `package` is optional. When set, a bare import specifier matching
 *    that package name (e.g. `import { X } from '@org/backend'`) is
 *    resolved into that workspace's source tree.
 */
export interface WorkspaceConfig {
    /** Absolute path on disk. */
    rootAbs: string;
    /** Logical name used as a workspace ID + finding prefix. */
    name: string;
    /** Package name (npm-style) for bare-specifier resolution into this workspace. */
    packageName?: string;
}
export interface RotHunterConfig {
    workspaces: WorkspaceConfig[];
    /** Absolute path of the config file that produced this object. */
    configPath: string;
}
export declare function loadRotHunterConfig(workspaceRoot: string): RotHunterConfig | null;
//# sourceMappingURL=config.d.ts.map