import { Feature } from './types/Feature'; import { Location } from './types/Location'; import { Coordinates } from './types/Coordinates'; export declare function convertFeatureToLocation(feature: Feature): Location; interface Bbox { minLng: number; minLat: number; maxLng: number; maxLat: number; } export declare function convertPositionToBbox(coordinates: Coordinates, distance: number): Bbox; export declare function throttler(func: (arg: T) => Promise, args: T[]): Promise; export declare function isValidDate(d: any): boolean; export declare function uniqBy(arr: T[], getKey: (arg: T) => K): T[]; export declare function uniq(arr: T[]): T[]; export declare function forceOrder(list: T[], sequence: V[], getKey: (arg: T) => V): Array; declare type Falsy = void | null | undefined | 0 | '' | false; declare type Truthy = Exclude; export declare function isTruthy(thing: T): thing is Truthy; export {};