import MagicString from 'magic-string'; import { Node, SourceFile } from 'typescript'; import { AotPlugin } from '../plugin'; export declare class TransformFile { resourcePath: string; source: string; aotPlugin: AotPlugin; generateSourceMap: boolean; sourceFile: SourceFile; edited: boolean; sourceString: string; sourceText: MagicString; constructor(resourcePath: string, source: string, aotPlugin: AotPlugin, generateSourceMap: boolean, sourceFile?: SourceFile); convertBootstrap(moduleName: string): void; convertLoadChildren(basePath: string, genDir: string): void; convertImport(from: { name: string; module: string; }, to: { name: string; module: string; }): void; getResources(): string[]; removeDecorators(): void; removeNode(node: Node): void; replaceNode(node: Node, contents: string): void; transpile(): { outputText: string; sourceMap: any; }; }