import type { UserConsoleLog } from 'vitest'; import type { Reporter, SerializedError, TestModule, TestRunEndReason, Vitest } from 'vitest/node'; export type FKVitestReporterOptions = { disableUpload?: boolean; flakinessProject?: string; endpoint?: string; token?: string; outputFolder?: string; duplicates?: 'fail' | 'rename'; title?: string; }; export interface FKVitestLogger { log(txt: string): void; warn(txt: string): void; error(txt: string): void; } export default class FKVitestReporter implements Reporter { private _options; private _impl?; private _vitest?; private _logger; constructor(_options: FKVitestReporterOptions); setLoggerForTest(logger: FKVitestLogger): void; onUserConsoleLog(log: UserConsoleLog): Promise; onInit(vitest: Vitest): void; onTestRunStart(): void; onTestRunEnd(testModules: ReadonlyArray, unhandledErrors: ReadonlyArray, reason: TestRunEndReason): Promise; } //# sourceMappingURL=reporter.d.ts.map