/**
 * @license
 * Copyright 2022-2026 Greg Lauckhart <greg@lauckhart.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import { Diagnostic } from "typescript";
import { Package } from "../../util/package.js";
export interface TypescriptContext {
    build(pkg: Package, path: string, refreshCallback: () => void, emit?: boolean): Promise<void>;
}
export declare namespace TypescriptContext {
    function diagnose(diagnostics?: Diagnostic | Diagnostic[]): void;
    function compilerOptionsFor(path: string, ignoreErrors?: boolean): import("typescript").CompilerOptions;
    function instrumentHostForSpinner(host: {}, refreshCallback?: () => void): void;
}
//# sourceMappingURL=context.d.ts.map