import type { BoundingBox, Point } from './types'; export interface SearchOptions { searchType?: number; resultPageSize?: number; disableSpellingCorrection?: boolean; /** User position hint for ranking. */ userPosition?: { lat: number; lon: number; }; } export interface SearchHit { title: string; subtitle: string; uri: string; point: Point; } /** * Bitmask values for `SearchOptions.searchType`. Yandex MapKit 4.36 ships only * GEO (= TOPONYM, addresses/places) and BIZ (organisations). TRANSIT and * COLLECTIONS were exposed in older SDKs but are not honoured in 4.36. */ export declare const SearchType: { readonly GEO: 1; readonly TOPONYM: 1; readonly BIZ: 2; }; export declare const Search: { searchByText(query: string, options?: { viewport?: BoundingBox; } & SearchOptions): Promise; geocodePoint(point: Point): Promise; /** * Resolve a Yandex URI (typically `item.uri` from a SuggestItem) directly to * a concrete hit. Prefer this over `searchByText` for picking a suggestion — * the URI already identifies the object so there's no re-ranking that could * drift to a different city. */ resolveUri(uri: string): Promise; }; export default Search; //# sourceMappingURL=Search.d.ts.map