import { DependencyType, type WorkspaceInfo, type WorkspaceInfoOptional, type WorkspacePackage } from '../types/index.js';
export declare function findPackageJsonFilesFromPatterns(patterns: string[], cwd: string): string[];
export declare function detectWorkspace(rootDir: string): Promise<WorkspaceInfoOptional>;
export declare function discoverWorkspacePackages(workspacePatterns: string[], rootDir: string): WorkspacePackage[];
export declare function updatePackageJsonWithDeps(rootDir: string, projectDir: string, dependencies: string[], dependencyType: DependencyType): void;
export declare function updateWorkspaceConfig(projectPath: string, workspaceInfo: WorkspaceInfo): void;
