/**
 * Repo scanner for project assistant + Settings → "Re-scan repos".
 *
 * Walks `rootPath` and exactly one level beneath it, classifying each entry
 * as a repo (has `.git`) and parsing its manifest (`package.json`,
 * `pyproject.toml`, `Cargo.toml`) into a flat `commands` map suggestion.
 *
 * Single-repo (rootPath itself is a git repo) returns `[{folder: "."}]`.
 * Multi-repo (rootPath has no `.git`, children do) returns one entry per
 * child with `.git`. Mixed (rootPath has `.git` and children also have
 * their own) returns rootPath as `"."` plus the child repos.
 *
 * Pure detection — no network, no git invocations, no symlink following.
 *
 * See docs/design/multi-repo-components.md §2.2.
 */
export interface DetectedRepo {
    /** Relative to rootPath; "." for the root itself. */
    folder: string;
    /** True if `<folder>/.git` exists (file or dir). */
    hasGit: boolean;
    /** Suggested commands map (e.g. {build: "npm run build"}). May be empty for data-only. */
    detectedCommands: Record<string, string>;
}
export declare function scanRepos(rootPath: string, _opts?: {
    maxDepth?: 1;
}): Promise<DetectedRepo[]>;
//# sourceMappingURL=repo-scan.d.ts.map