import type { ReporterRuntime } from 'allure-js-commons/sdk/reporter'; import type { WDIORuntimeMessage } from './types.js'; export declare function isOpen(messages: WDIORuntimeMessage[], startType: WDIORuntimeMessage['type'], endType: WDIORuntimeMessage['type']): boolean; export declare class AllureReportState { private allureRuntime; private _scopesStack; private _scopeKindsStack; private _testScopePendingClose; private _executablesStack; private _fixturesStack; private _currentTestUuid?; private _currentTestName?; messages: WDIORuntimeMessage[]; private _processedIndex; private _pendingHookMessages; private _isCapturingPendingHook; private _rootScopeUuid?; private _testUuids; private _standaloneUuid?; private _rootFixtures; private _testStartFixture?; constructor(allureRuntime: ReporterRuntime); private _isRuntimeMessage; private _openSteps; private _openHookSteps; private _hookMeta; private _incHookSteps; private _decHookSteps; private _closeOpenedHookSteps; private _closeOpenedSteps; get hasPendingTest(): boolean; get hasPendingHook(): boolean; get currentFeature(): string | undefined; private _openScope; private _closeScope; private _writeLastTest; private _closeDanglingTestScope; private _startSuite; private _endSuite; private _startTest; private _addTestInfo; private _endTest; private _rootScopes; private _trackTest; private _rootScope; private _hasAttachableScope; private _startHook; private _endHook; pushRuntimeMessage(message: WDIORuntimeMessage): void; /** * Consume every message that has not been consumed yet. * * Pass `final: false` to flush mid-run: messages are applied and completed tests are * written out, but the run is not finalised, so the reporter can keep going. The * cursor makes this safe to call repeatedly - a message is never applied twice, and a * pass that throws leaves the cursor on the message that threw so the next pass * retries it rather than replaying the whole batch. */ processRuntimeMessage(final?: boolean): Promise; private _attachPendingHookToCurrentTest; } //# sourceMappingURL=state.d.ts.map