import { Tree } from '@angular-devkit/schematics'; import { Schema } from '../ng-generate/cypress-test/schema'; import type { SemVer } from 'semver'; export interface NodePackage { name: string; version: string; } export declare function getAngularSemverVersion(tree: Tree): SemVer | null; /** * Attempt to retrieve the latest package version from NPM * Return an optional "latest" version in case of error * @param packageName */ export declare function getLatestNodeVersion(packageName: string): Promise; export declare function getDirectoriesAndCreateSpecs({ appPath, tree }: { appPath: string; tree: Tree; }): void; export declare function createTemplate({ templatePath, options }: { templatePath: string; options: Schema; }): any; export declare function getAngularJsonValue(tree: Tree): any;