/// import { Writable } from 'stream'; import { Configuration } from './Configuration'; import { Report, MessageName } from './Report'; import { Locator } from './types'; export declare type LightReportOptions = { configuration: Configuration; stdout: Writable; suggestInstall?: boolean; }; export declare class LightReport extends Report { static start(opts: LightReportOptions, cb: (report: LightReport) => Promise): Promise; private configuration; private stdout; private suggestInstall; private errorCount; constructor({ configuration, stdout, suggestInstall }: LightReportOptions); hasErrors(): boolean; exitCode(): 1 | 0; reportCacheHit(locator: Locator): void; reportCacheMiss(locator: Locator): void; startTimerSync(what: string, cb: () => T): T; startTimerPromise(what: string, cb: () => Promise): Promise; reportSeparator(): void; reportInfo(name: MessageName | null, text: string): void; reportWarning(name: MessageName, text: string): void; reportError(name: MessageName, text: string): void; reportProgress(progress: AsyncIterable<{ progress: number; title?: string; }>): Promise; reportJson(data: any): void; finalize(): Promise; private formatName; }