import { TestScriptError } from '@flood/element-report' ; import { TestSettings } from './Settings' ; import { TestDataSource } from '../test-data/TestData' ; import { ITest } from '../interface/ITest' ; import { RuntimeEnvironment } from '../runtime-environment/types' ; import { Step , StepRecoveryObject } from './Step' ; import { Hook } from './StepLifeCycle' ; export interface EvaluatedScriptLike { steps : Step [ ] ; hook : Hook ; recoverySteps : StepRecoveryObject ; settings : TestSettings ; isScriptError ( error ) : boolean ; maybeLiftError ( error ) : Error ; liftError ( error ) : TestScriptError ; filterAndUnMapStack ( stack ) : string [ ] ; bindTest ( test ) : void ; beforeTestRun ( ) : Promise < void > ; evaluate ( ) : EvaluatedScriptLike ; testData : TestDataSource < any > ; runEnv : RuntimeEnvironment ; }