import { WorkspaceInfo } from "../doctor/types";
export declare class WorkspaceManager {
    private root;
    constructor(root?: string);
    isMonorepo(): Promise<boolean>;
    getWorkspaces(): Promise<WorkspaceInfo[]>;
    /**
     * Identifies related packages in a monorepo for a given application path.
     * This helps in "Smart Scoping" by pulling in shared code.
     */
    getRelatedPackages(appPath: string): Promise<WorkspaceInfo[]>;
    /**
     * Finds the root of the monorepo from any subdirectory
     */
    static findRoot(startDir?: string): Promise<string>;
}
//# sourceMappingURL=workspace.d.ts.map