import * as ts from "typescript";
import { Host } from "./format";
export declare function trace(...args: any): void;
export declare function getProgramDiagnostics(program: ts.Program): ts.Diagnostic[];
export declare function buildAST(mainFn: string, dsHost: Host, prelude: Record<string, string>, checkModule: (path: string, pkgJSON: string) => boolean): {
    program: ts.Program;
    usedFiles: () => string[];
};
export declare function mkDiag(filename: string, messageText: string, category?: ts.DiagnosticCategory): ts.Diagnostic;
export declare function formatDiagnostics(diagnostics: readonly ts.Diagnostic[], basic?: boolean): string;
//# sourceMappingURL=tsiface.d.ts.map