import { Services } from '@wdio/types';
import { Test, TestResult } from '@wdio/types/build/Frameworks';
import { Testrunner } from '@wdio/types/build/Options';
import { Options } from './ServiceOptions';
/**
 * WorkerService
 *
 * It is a custom WebdriverIO service designed for io.Connect Desktop (IOCD) projects.
 * https://webdriver.io/docs/customservices/
 *
 * It injects IOCD-specific utilities, browser commands, and global helpers into the test session,
 * enabling advanced automation and integration capabilities for end-to-end testing.
 *
 * Key features:
 * - Attaches IOConnect client instance and helpers to the browser for use in specs.
 * - Adds custom WDIO commands for frame switching, time manipulation, and IOCD app control.
 * - Supports global utility injection to streamline test setup.
 *
 * This service is intended to be used in WDIO configurations targeting IOCD environments.
 */
export declare class WorkerService implements Services.ServiceInstance {
    readonly options: Options;
    private iocdServiceInternalIoInstance;
    private recorder;
    private logger;
    private specFailed;
    config?: Testrunner;
    constructor(options: Options);
    beforeSession(config: Testrunner): Promise<void>;
    before(__capabilities: WebdriverIO.Capabilities, specs: string[], browser: WebdriverIO.Browser): Promise<void>;
    afterTest(__test: Test, __context: any, result: TestResult): Promise<void>;
    after(): Promise<void>;
    private handleScreenRecordStart;
}
