/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { JsonAstObject, JsonObject, experimental } from '@angular-devkit/core'; export declare const workspaceSchemaPath: string; export declare function getWorkspace(level?: 'local' | 'global'): Promise; export declare function createGlobalSettings(): string; export declare function getWorkspaceRaw(level?: 'local' | 'global'): [JsonAstObject | null, string | null]; export declare function validateWorkspace(json: JsonObject): Promise; export declare function getProjectByCwd(workspace: experimental.workspace.Workspace): string | null; export declare function getConfiguredPackageManager(): Promise; export declare function migrateLegacyGlobalConfig(): boolean; export declare function getSchematicDefaults(collection: string, schematic: string, project?: string | null): Promise<{}>; export declare function isWarningEnabled(warning: string): Promise;