import { LayerSpecification, Map, Popup, SourceSpecification, StyleSpecification } from "maplibre-gl"; //#region src/types.d.ts type RenderPopupProperty = { [x: string]: null | undefined | string | number | object | Date; }; type RenderPopupFeature = { source: string; sourceLayer?: string; layer: { [x: string]: string; source: string; }; geometry: { type: string; }; properties: RenderPopupProperty; }; type Theme = 'light' | 'dark' | 'system'; interface ThemeColors { /** Popup text color */ popupText: string; /** Popup background color */ popupBg: string; /** Popup feature border color */ popupBorder: string; /** Button icon fill color */ buttonIcon: string; /** Control group background color */ ctrlBg: string; /** Inspect mode background color */ inspectBackground: string; } type Options = { showInspectMap: boolean; showInspectButton: boolean; showInspectMapPopup: boolean; showMapPopup: boolean; showMapPopupOnHover: boolean; showInspectMapPopupOnHover: boolean; blockHoverPopupOnClick: boolean; backgroundColor: string; assignLayerColor(layerId: string, alpha?: number): string; buildInspectStyle(originalMapStyle: StyleSpecification, coloredLayers: LayerSpecification[], opts: any): StyleSpecification; renderPopup(features: RenderPopupFeature[]): string; popup: Popup | null; selectThreshold: number; useInspectStyle: boolean; queryParameters: Record; sources: { [_: string]: SourceSpecification | string[]; }; toggleCallback(showInspectMap?: boolean): void; theme?: Theme; lightColors?: Partial; darkColors?: Partial; }; //#endregion //#region src/maplibre-gl-inspect.d.ts declare class MaplibreInspect { private _map; private _popup; private _popupBlocked; private _showInspectMap; private _originalStyle; private _toggle; options: Options; sources: Options['sources']; assignLayerColor: Options['assignLayerColor']; private _currentTheme; private readonly _mediaQuery; private readonly _lightColors; private readonly _darkColors; constructor(options?: Partial); private _inspectStyle; private _onSourceChange; private _onStyleChange; private _onRightClick; private _onMouseMove; toggleInspector(): void; get theme(): Theme; setTheme(theme: Theme): void; private _onSystemThemeChange; private _getResolvedTheme; private _applyTheme; render(): void; onAdd(map: Map): HTMLDivElement; onRemove(): void; } //#endregion //#region src/theme-colors.d.ts declare const DEFAULT_LIGHT_COLORS: ThemeColors; declare const DEFAULT_DARK_COLORS: ThemeColors; //#endregion export { DEFAULT_DARK_COLORS, DEFAULT_LIGHT_COLORS, MaplibreInspect, MaplibreInspect as default, type Options, type RenderPopupFeature, type RenderPopupProperty, type Theme, type ThemeColors }; //# sourceMappingURL=index.d.mts.map