import * as messages from '@cucumber/messages'; import { MakeErrorMessage } from './ErrorMessageGenerator'; import IClock from './IClock'; import IStopwatch from './IStopwatch'; import { EnvelopeListener, ISupportCodeExecutor, ITestStep, IWorld } from './types'; export default abstract class TestStep implements ITestStep { readonly id: string; readonly sourceId: string; readonly alwaysExecute: boolean; protected readonly supportCodeExecutors: readonly ISupportCodeExecutor[]; private readonly sourceFrames; private readonly clock; private readonly stopwatch; private readonly makeErrorMessage; constructor(id: string, sourceId: string, alwaysExecute: boolean, supportCodeExecutors: readonly ISupportCodeExecutor[], sourceFrames: readonly string[], clock: IClock, stopwatch: IStopwatch, makeErrorMessage: MakeErrorMessage); abstract toMessage(): messages.TestStep; execute(world: IWorld, testCaseStartedId: string, listener: EnvelopeListener, previousPassed: boolean): Promise; protected emitTestStepStarted(testCaseStartedId: string, listener: EnvelopeListener): void; protected emitTestStepFinished(testCaseStartedId: string, testStepResult: messages.TestStepResult, listener: EnvelopeListener): messages.TestStepResult; private inferStatus; } //# sourceMappingURL=TestStep.d.ts.map