import * as ts from 'typescript'; import type { Change } from './change'; export declare function insertImport(source: ts.SourceFile, fileToEdit: string, symbolName: string, fileName: string, isDefault?: boolean): Change; export declare function findNodes(node: any, kind: ts.SyntaxKind, max?: number, recursive?: boolean): ts.Node[]; export declare function getSourceNodes(sourceFile: ts.SourceFile): ts.Node[]; export declare function findNode(node: ts.Node, kind: ts.SyntaxKind, text: string): ts.Node | null; export declare function insertAfterLastOccurrence(nodes: ts.Node[], toInsert: string, file: string, fallbackPos: number, syntaxKind?: ts.SyntaxKind): Change; export declare function getContentOfKeyLiteral(_source: ts.SourceFile, node: ts.Node): string | null; export declare function getDecoratorMetadata(source: ts.SourceFile, identifier: string, module: string): ts.Node[]; export declare function getFirstNgModuleName(source: ts.SourceFile): string | undefined; export declare function getMetadataField(node: ts.ObjectLiteralExpression, metadataField: string): ts.ObjectLiteralElement[]; export declare function addSymbolToNgModuleMetadata(source: ts.SourceFile, ngModulePath: string, metadataField: string, symbolName: string, importPath?: string | null): Change[]; export declare function addDeclarationToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function addImportToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function addProviderToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function addExportToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function addBootstrapToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function addEntryComponentToModule(source: ts.SourceFile, modulePath: string, classifiedName: string, importPath: string): Change[]; export declare function isImported(source: ts.SourceFile, classifiedName: string, importPath: string): boolean; export declare function getEnvironmentExportName(source: ts.SourceFile): string | null; export declare function getRouterModuleDeclaration(source: ts.SourceFile): ts.Expression | undefined; export declare function addRouteDeclarationToModule(source: ts.SourceFile, fileToAdd: string, routeLiteral: string): Change;