import ts from "typescript"; export interface IVisitor { (node: ts.Node, sourcefile: ts.SourceFile, data: any): ts.Node | ts.Node[]; } export interface IVisitCompileContext { transpile: boolean; files: string[]; visitors: IVisitor[]; getSourceFilePath(filepath: string): string; emit(filepath: string, content: string): void; } export declare function visitCompile(tsconfig: string, context: IVisitCompileContext): void; export { ts };