import SearchEngine from '../services/search/SearchEngine'; interface Script { exec: ()=> Promise; } const script: Script =