import type { EventEmitter } from 'node:events'; import type { IdGenerator } from '@cucumber/messages'; import type { AssembledTestCase } from '../../assemble'; import type StepDefinitionSnippetBuilder from '../../formatter/step_definition_snippet_builder'; import type { SupportCodeLibrary } from '../../support_code_library_builder/types'; import type { RuntimeOptions } from '../index'; import type { RuntimeAdapter } from '../types'; /** * A simple adapter that executes all work in serial on the main thread */ export declare class InProcessAdapter implements RuntimeAdapter { private readonly executor; constructor(testRunStartedId: string, eventBroadcaster: EventEmitter, newId: IdGenerator.NewId, options: RuntimeOptions, supportCodeLibrary: SupportCodeLibrary, snippetBuilder: StepDefinitionSnippetBuilder); setup(): Promise; teardown(): Promise; runBeforeAllHooks(): Promise; runTestCases(assembledTestCases: ReadonlyArray): Promise; runAfterAllHooks(): Promise; }