import { default as ts } from 'typescript'; import { FileTransformContext, FileTransformer } from '../publicTypes.ts'; import { CompilerContext } from '../context/index.ts'; /** * Run a chain of transformers on a TypeScript .tsx or .d.ts file and return * the resulting source file */ export declare function runTransformers(context: CompilerContext, transformationContext: ts.TransformationContext, sourceFile: ts.SourceFile, transformers: readonly FileTransformer[]): ts.SourceFile; export declare function removeComments(node: ts.Node, context: FileTransformContext): void;