import BaseModule from './baseModule.js'; import { BStackLogger } from '../cliLogger.js'; /** * TestHub Module for BrowserStack */ export default class TestHubModule extends BaseModule { logger: typeof BStackLogger; testhubConfig: unknown; name: string; static MODULE_NAME: string; /** * Create a new TestHubModule */ constructor(testhubConfig: unknown); /** * Get the module name * @returns {string} The module name */ getModuleName(): string; private getCurrentTestRunUuid; /** * Awaited, not fire-and-forget: sendTestSessionEvent re-throws after logging, and an * un-awaited rejection escapes as an unhandled rejection that no caller can contain — on * cucumber it surfaces inside the user's own Before hook via WDIO's hook domain and fails the * scenario. Awaiting hands the rejection to eventDispatcher's per-observer boundary. */ onBeforeTest(args: Record): Promise; onAllTestEvents(args: Record): void; sendTestFrameworkEvent(args: Record): Promise; /** * Send test session event to the service * @param args containing test session data */ sendTestSessionEvent(args: Record): Promise; sendLogCreatedEvent(args: Record): Promise; } //# sourceMappingURL=testHubModule.d.ts.map