import { type PathLike } from '../utils/path.ts'; import type { Cache } from './Cache.ts'; import type { FileSystem } from './FileSystem.ts'; import { type PackageManagerName } from './PackageManager.ts'; import { Package } from './Package.ts'; import type { DirectoryStructure, FileStructure, PackageStructure, StructureOptions, WorkspaceStructure } from './types.ts'; export declare class Workspace { #private; constructor(options?: { fileSystem?: FileSystem; rootDirectory?: PathLike; cache?: Cache; }); hasWorkspaces(): boolean; getPackageManager(): PackageManagerName; getPackage(name: string): Package, { [x: string]: any; }, {}> | undefined; getStructure(options?: StructureOptions): Promise>; getPackages(): Package[]; }