import { SchematicContext, Tree } from '@angular-devkit/schematics';
import { WorkspaceSchema, WorkspaceProject, ProjectType } from '@schematics/angular/utility/workspace-models';
export declare function getProjectPaths(config: WorkspaceSchema, appendPrefix?: boolean): string[];
export declare function getWorkspacePath(host: Tree): string;
export declare function getWorkspace(host: Tree): WorkspaceSchema;
export declare function getProjects(config: WorkspaceSchema): WorkspaceProject<ProjectType.Application>[];
export declare function escapeRegExp(string: any): any;
export declare function supports(name: string): boolean;
export declare function getPackageManager(host: Tree): "yarn" | "npm";
export declare const canResolvePackage: (pkg: string) => boolean;
export declare const getPackageVersion: (pkg: string) => string;
export declare function tryInstallPackage(context: SchematicContext, packageManager: string, pkg: string): void;
export declare function tryUninstallPackage(context: SchematicContext, packageManager: string, pkg: string): void;
