import { OptionsType } from './options'; import { TestResultType, Attachment } from './models'; export interface ReporterInterface { addTestResult(result: TestResultType): Promise; publish(): Promise; startTestRun(): void; startTestRunAsync(): Promise; isCaptureLogs(): boolean; getResults(): TestResultType[]; sendResults(): Promise; complete(): Promise; uploadAttachment(attachment: Attachment): Promise; } /** * @class QaseReporter * * Thin orchestrator: delegates to OptionsResolver, ReporterFactory, * StatusProcessor, and FallbackCoordinator. Public API is preserved. */ export declare class QaseReporter implements ReporterInterface { private static instance; private readonly logger; private readonly options; private readonly withState; private readonly captureLogs; private readonly statusProcessor; private readonly fallback; private startTestRunOperation?; /** * @param {OptionsType} options */ private constructor(); private buildLogger; private buildReporters; private persistInitialState; static getInstance(options: OptionsType): QaseReporter; getStatusMapping(): Record | undefined; uploadAttachment(attachment: Attachment): Promise; getResults(): TestResultType[]; setTestResults(results: TestResultType[]): void; addTestResult(result: TestResultType): Promise; startTestRun(): void; startTestRunAsync(): Promise; sendResults(): Promise; publish(): Promise; complete(): Promise; isCaptureLogs(): boolean; }