import { LngLatLike, Map } from 'maplibre-gl'; export { isBrowser } from './ssr-guard'; /** * Flatten a Vue `class` binding value (string | array | object) into a list of * class tokens. Used to forward fallthrough `class` onto the element MapLibre * owns, since Teleport-root components can't inherit attributes automatically. */ export declare function normalizeClassTokens(value: unknown): string[]; /** * Returns `id` when the caller supplied one, otherwise mints a fallback id for * a layer or source. * * These ids only have to be unique among the layers and sources of the maps on * one page, so a module-scoped counter is sufficient and the timestamp is there * purely to keep ids readable across reloads. The name predates dropping the * `nanoid` dependency, which was declared under devDependencies yet imported at * runtime — correct only for as long as it stayed bundled. */ export declare function getNanoid(id?: string): string; export declare function getMainVersion(): number; export declare function hasSource(map: Map, sourceId: string): boolean; export declare function hasLayer(map: Map, sourceId: string): boolean; export declare function lngLatLikeHasValue(lngLatLike?: LngLatLike): boolean; export declare function filterStylePropertiesByKeys>(style: Record, keys: (keyof T)[]): T;