import { EntityStore } from '@ximple/igo2-common'; import { SearchResult, SearchSourceService } from '@ximple/igo2-geo'; import { BehaviorSubject } from 'rxjs'; /** * Service that holds the state of the search module */ export declare class SearchState { private searchSourceService; readonly searchTerm$: BehaviorSubject; readonly searchType$: BehaviorSubject; readonly searchDisabled$: BehaviorSubject; /** * Store that holds the search results */ readonly store: EntityStore; /** * Search types currently enabled in the search source service */ readonly searchTypes: string[]; constructor(searchSourceService: SearchSourceService); enableSearch(): void; disableSearch(): void; setSearchTerm(searchTerm: string): void; setSearchType(searchType: string): void; }