/** * @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 { Path } from '@angular-devkit/core'; import { Tree } from '@angular-devkit/schematics'; export declare const MODULE_EXT = ".module.ts"; export declare const ROUTING_MODULE_EXT = "-routing.module.ts"; /** * Find the module referred by a set of options passed to the schematics. */ export declare function findRootModule(host: Tree, module: string, rootPath?: string, skipImport?: boolean): string | undefined; /** * Find the module referred by a set of options passed to the schematics. */ export declare function findModuleFromOptions(host: Tree, options: any, projectPath: any): Path | undefined; /** * Function to find the "closest" module to a generated file's path. */ export declare function findModule(host: Tree, generateDir: string, moduleExt?: string, routingModuleExt?: string): Path;