import { Tree, UpdateRecorder } from '@angular-devkit/schematics'; import { SourceFile } from 'typescript'; import { Change } from './../utility'; export declare function insertChanges(aChanges: Change[], aRecorder: UpdateRecorder): void; export declare function changeSourceFile(aFile: string, aOp: (aFile: string, aContent: SourceFile) => Change[], aHost: Tree): void; /** * Changes the identified module by adding a couple of imports * * @param aFile the filename * @param aModules the modules to be added * @param aHost the tree */ export declare function addImportsToModule(aFile: string, aModules: { [identifier: string]: string; }, aHost: Tree): void;