import * as typescript from 'typescript'; import { SourceFileModification } from './source-file-modification.interface'; export declare function openSourceFileFromFileSystem(filename: string): typescript.SourceFile; export declare function openSourceFile(filename: string, readSourceText: () => string): typescript.SourceFile; export declare function getNgModuleNode(sourceFile: typescript.SourceFile): typescript.ObjectLiteralExpression; export declare function getAllImportDeclarations(sourceFile: typescript.SourceFile): typescript.Statement[]; export declare function getLastImportDeclaration(sourceFile: typescript.SourceFile): typescript.Statement; export declare function getInterfaceDeclarationByType(sourceFile: typescript.SourceFile, type: string): typescript.InterfaceDeclaration; export declare function getVariableDeclaration(sourceFile: typescript.SourceFile, type: string): typescript.VariableDeclaration; export declare function getTypeArgumentOfVariableDeclaration(variableDeclaration: typescript.VariableDeclaration): typescript.TypeNode; export declare function getObjectProperty(properties: typescript.NodeArray, propertyName: string): typescript.PropertyAssignment; export declare function filterNodeArray(array: typescript.NodeArray, condition: (node: T) => boolean): typescript.NodeArray; export declare function insertIntoArray(array: typescript.NodeArray, symbolToInsert: string): SourceFileModification;