import type { Workspace } from './PackageManager.ts';
export interface RootPackageJson {
    packageManager?: string;
    workspaces?: string[] | {
        packages?: string[];
    };
}
export declare function readRootPackageJson(cwd?: string): RootPackageJson | undefined;
export declare function readWorkspacePatternsFromPackageJson(cwd?: string): string[];
export declare function readPnpmWorkspacePatterns(cwd?: string): string[];
export declare function readWorkspacePatterns(cwd?: string): string[];
export declare function listDeclaredWorkspaces(cwd?: string): Workspace[];
export declare function detectPackageManagerFromPackageJson(cwd?: string): string | undefined;
//# sourceMappingURL=workspaces.d.ts.map