import { Observable } from 'rxjs' ; import ScrapeData from './scrape-data' ; /**
 * StarWars Service Interface
 */ interface IScraper { getAll ( ) : Observable < any > ; getAllSites ( ) : Observable < any > ; getScrapedData ( url , headless ) : Observable < any > ; getScrapedListData ( scrapeInfo , withURL ) : Observable < any > ; push ( name , data , replace ? ) : Observable < any > ; pushProduct ( name , data ) : Observable < any > ; pushSite ( name , data ) : Observable < any > ; byMicrositeByID ( name ) : Observable < any > ; deleteMicrositeByID ( name ) : Observable < any > ; deleteMicrositePublishByID ( name ) : Observable < any > ; byPublishedMicrositeByID ( name ) : Observable < any > ; } export default IScraper ;