import { TFeatureStep, TResolvedFeature, TWorld, TStepAction, ExecMode } from '../lib/defs.js'; import { TExecutorResult, TStepResult, TFeatureResult, TActionResult, TStepArgs, TSeqPath } from '../schema/protocol.js'; import { AStepper } from '../lib/astepper.js'; export declare function calculateShouldClose({ thisFeatureOK, isLast, stayOnFailure, continueAfterError, stayAlways }: { thisFeatureOK: boolean; isLast: boolean; stayOnFailure: boolean; continueAfterError: boolean; stayAlways: boolean; }): boolean; export declare class Executor { private static createExecutionFailure; static action(steppers: AStepper[], featureStep: TFeatureStep, found: TStepAction, args: TStepArgs, world: TWorld): Promise; static executeFeatures(steppers: AStepper[], world: TWorld, features: TResolvedFeature[]): Promise; } export declare class FeatureExecutor { private steppers; private world; private startOffset; constructor(steppers: AStepper[], world: TWorld, startOffset?: number); doFeature(feature: TResolvedFeature): Promise; static doFeatureStep(steppers: AStepper[], featureStep: TFeatureStep, world: TWorld, execMode?: ExecMode): Promise; } export declare function incSeqPath(withSeqPath: { seqPath: TSeqPath; }[], seqPath: TSeqPath, dir?: number): TSeqPath; //# sourceMappingURL=Executor.d.ts.map