import { DirEntry, FileEntry, Tree } from '@angular-devkit/schematics'; import * as typescript from 'typescript'; import { SourceFileModification } from '../ast/source-file-modification.interface'; import { SchemaOptions } from '../types/schema-options/schema-options.interface'; export declare function deleteFile(tree: Tree, filename: string): void; export declare function getSubDirEntry(directory: DirEntry, subDirectoryNames: string[]): DirEntry; export declare function getSubFileEntry(directory: DirEntry, subFileName: string): FileEntry; export declare function getSubDirFileEntry(directory: DirEntry, subDirectoryNames: string[], subFileName: string): FileEntry; export declare function findFilenameInTree(directory: DirEntry, fileMatchesCriteria: (file: string) => boolean): string; export declare function findModuleFilenameInTree(tree: Tree, options: SchemaOptions): string; export declare function findParentModuleFilenameInTree(tree: Tree, options: SchemaOptions): string; export declare function findParentRoutingModuleFilenameInTree(tree: Tree, options: SchemaOptions): string; export declare function openSourceFileFromTree(tree: Tree, filename: string): typescript.SourceFile; export declare function applyModificationsToTreeFile(tree: Tree, filename: string, modifications: SourceFileModification[]): void; export declare function getTouchedFiles(tree: Tree): any[];