import { WorkNode } from '../planner/work-node' ; import { ExecutionContext } from './execution-context' ; import { Environment } from './environment' ; export interface Executor { clean ( node , environment ) : Promise < void > ; store ( node , environment , path ) : Promise < void > ; restore ( node , environment , path ) : Promise < void > ; exec ( node , context , cancelDefer ) : Promise < void > ; }