import { Tree, SchematicContext } from '@angular-devkit/schematics'; import { JsonValue, JsonAstObject } from '@angular-devkit/core'; export interface NpmRegistryPackage { name: string; version: string; } export declare enum Config { PackageJsonPath = "package.json", JsonIndentLevel = 4 } export declare function getLatestNodeVersion(packageName: string): Promise; export declare function getFileAsJson(host: Tree, path: string): JsonValue; export declare function addPropertyToPackageJson(tree: Tree, context: SchematicContext, propertyName: string, propertyValue: { [key: string]: any; }): void; export declare function readPackageJson(tree: Tree): JsonAstObject;