import { FormatResult } from "../format.js"; import { ErrorChecker } from "./error-checker.js"; export declare class Formatter { verbose: boolean; status: "pending" | "running" | "syntax-error" | "error" | "success"; errorChecker: ErrorChecker; aborted: boolean; controller: AbortController; currentRun: Promise | undefined; result: FormatResult | undefined; constructor({ verbose, errorChecker, }: { verbose: boolean; errorChecker: ErrorChecker; }); reset(): void; abortCurrent(): Promise; run(onProgress: () => void): Promise; getOutput(): string; }