import type { Observable } from 'rxjs' ; import type { FetchResult , NewsfeedPluginBrowserConfig } from '../types' ; export interface INewsfeedApiDriver { /**
     * Check whether newsfeed items should be (re-)fetched
     */ shouldFetch ( ) : boolean ; fetchNewsfeedItems ( config ) : Observable < FetchResult > ; }