import type { Capabilities } from '@wdio/types'export type State = 'passed' | 'failed' | 'skipped' | 'pending'export interface SuiteState {passed: numberfailed: numberskipped: number}export interface ResultSet {start: Dateend?: Datecapabilities: Capabilities.ResolvedTestrunnerCapabilitiesframework?: stringmochaOpts?: WebdriverIO.MochaOptsjasmineOpts?: WebdriverIO.JasmineOptscucumberOpts?: WebdriverIO.CucumberOptssuites: TestSuite[]specs: string[]state: SuiteState}export interface TestSuite {name: stringduration: numberstart: Dateend?: DatesessionId?: stringtests: Test[]hooks: Hook[]}export interface Test {name: stringstate: Stateduration: numberstart: Dateend?: Dateerror?: Error}export interface Hook {title: stringstate: Stateduration: numberstart: Dateend?: DateassociatedSuite?: stringassociatedTest?: stringerror?: Error}