import type { Services } from '@wdio/types'; import type { CtrfServiceOptions } from './types'; export default class CtrfService implements Services.ServiceInstance { private opts; /** Capability ID for this WDIO worker. Every shared-state call must use it. */ private cid; private attachApi; constructor(serviceOptions: CtrfServiceOptions); beforeSession(_config: Parameters>[0], _capabilities: Parameters>[1], _specs: Parameters>[2], cid: string): void; before(): Promise; beforeTest(test: { parent: string; title: string; }): void; afterHook(test: { title?: string; parent?: string; }, _context: unknown, result: { passed: boolean; error?: Error; }, hookName?: string): Promise; afterTest(test: { parent: string; title: string; }, _context: unknown, result: { passed: boolean; error?: Error; }): Promise; /** * Attach session-level artifacts (Appium log, configured logs, network HAR) * once per worker. Done here rather than in `afterTest` so they are captured * even when every test is skipped (e.g. a failed `before all` hook) and are * not duplicated across tests. */ after(): void; private buildScreenshotName; } //# sourceMappingURL=service.d.ts.map