export type MonorepoType = 'pnpm' | 'yarn' | 'npm' | 'lerna' | 'nx' | 'rush' | 'none';
export interface MonorepoInfo {
    type: MonorepoType;
    root: string;
    configFile?: string;
    workspaces?: string[];
}
/**
 * Detects if the current project is part of a monorepo and returns information about it.
 * Traverses up the directory tree looking for monorepo configuration files.
 */
export declare function detectMonorepo(startPath: string): Promise<MonorepoInfo>;
/** Gets the root package.json from a monorepo root directory */
export declare function getMonorepoRootPackageJson(monorepoRoot: string): Promise<Record<string, unknown> | null>;
//# sourceMappingURL=detect-monorepo.d.ts.map