import { Observable, BehaviorSubject } from 'rxjs'; import { Feature } from '../../../feature'; import { SearchResult } from '../search.interfaces'; import { SearchSource, ReverseSearch } from './source'; import { SearchSourceOptions, TextSearchOptions } from './source.interfaces'; import { LanguageService } from '@ximple/igo2-core'; export declare class CoordinatesSearchResultFormatter { private languageService; constructor(languageService: LanguageService); formatResult(result: SearchResult): SearchResult; } /** * CoordinatesReverse search source */ export declare class CoordinatesReverseSearchSource extends SearchSource implements ReverseSearch { private languageService; static id: string; static type: string; title$: BehaviorSubject; readonly title: string; constructor(options: SearchSourceOptions, languageService: LanguageService); getId(): string; getType(): string; protected getDefaultOptions(): SearchSourceOptions; /** * Search a location by coordinates * @param lonLat Location coordinates * @param distance Search raidus around lonLat * @returns Observable of [] */ reverseSearch(lonLat: [number, number], options?: TextSearchOptions): Observable[]>; private dataToResult; }