import type { Observable } from 'rxjs' ; import { FetchResult } from '../types' ; import { INewsfeedApiDriver } from './types' ; /**
 * NewsfeedApiDriver variant that never fetches results. This is useful for instances where Kibana is started
 * without any user interaction like when generating a PDF or PNG report.
 */ export class NeverFetchNewsfeedApiDriver implements INewsfeedApiDriver { shouldFetch ( ) { return false ; } fetchNewsfeedItems ( ) { throw new Error ( 'Not implemented!' ) ; } }