import * as ts from "typescript";
/**
 * This may look overly complex just for reporting errors,
 * but without enough information it may be very hard to debug comptime errors
 * because they are run in a constructed environment.
 *
 * We remedy that by producing well-formatted and very detailed error messages.
 */
export declare function formatSourceError(sourceFile: ts.SourceFile, target: ts.Node, error: unknown, evalProgram?: string, transpiled?: string): string;
