/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; export type MapLegendCategory = "tech" | "health" | "trades" | "finance"; export interface MapLegendItem { /** Sector dot to draw. */ category: MapLegendCategory; label: string; /** Makes the row a filter button. */ onSelect?: () => void; } export interface MapLegendProps extends JSX.HTMLAttributes { /** Overline heading. */ title?: string; items: MapLegendItem[]; className?: string; } /** * Category key for a map on an instrument viewport; a row is a button only when it filters. * * @example * filter("tech") }]} /> */ export declare const MapLegend: import("preact").FunctionalComponent & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=MapLegend.d.ts.map