import { ComponentType, ReactNode } from 'react'; /** One selectable map layer. `label` is caller-pre-translated. */ export interface MapLayerToggleItem { id: string; label: string; /** Optional leading icon (e.g. a lucide component). */ icon?: ComponentType<{ className?: string; }>; } export interface MapLayerControlProps { items: MapLayerToggleItem[]; activeId: string; onChange: (id: string) => void; className?: string; ariaLabel?: string; /** Slot for conditional extras beside the toggle (e.g. an operator selector). */ children?: ReactNode; } /** * MapLayerControl — data-agnostic segmented layer toggle (GAP-04). * * The generalized `LayerToggleRow` that both the package's TurkeyMap and HES's * NetworkHealth cockpit reproduce: a mono/uppercase button cluster with an * accent-chip active state. Token-neutral (`--color-primary`) so it renders in * both themes; the consumer supplies items + active id + a conditional * `children` slot for extras. */ export declare function MapLayerControl({ items, activeId, onChange, className, ariaLabel, children, }: MapLayerControlProps): import("react").JSX.Element; export declare namespace MapLayerControl { var displayName: string; } //# sourceMappingURL=MapLayerControl.d.ts.map