import * as ts from 'typescript'; import { NodeTransformer } from '../util'; export default function transformer(program: ts.Program): { before(ctx: ts.TransformationContext): (sourceFile: ts.SourceFile) => ts.SourceFile; after(ctx: ts.TransformationContext): (sourceFile: ts.SourceFile) => ts.SourceFile; }; export declare function before(_: ts.TransformationContext, sourceFile: ts.SourceFile, typeChecker: ts.TypeChecker): NodeTransformer; export declare function after(_: ts.TransformationContext, sourceFile: ts.SourceFile, __: ts.TypeChecker): NodeTransformer;