import { createSearchSource , SearchSource , SearchSourceDependencies } from './' ; import { IndexPatternsContract } from '../../index_patterns/index_patterns' ; export class SearchSourceService { public setup ( ) { } public start ( indexPatterns , dependencies ) { return { /**
             * creates searchsource based on serialized search source fields
             */ create : createSearchSource ( indexPatterns , dependencies ) , /**
             * creates an enpty search source
             */ createEmpty : ( ) => { return new SearchSource ( { } , dependencies ) ; } , } ; } public stop ( ) { } }