/** One legend swatch. `color` is a raw CSS color from the caller's paint module. */ export interface MapLegendEntry { color: string; label: string; } export interface MapLegendProps { entries: MapLegendEntry[]; /** Optional trailing swatch (e.g. a "no data" bucket). */ noData?: MapLegendEntry; /** Optional leading caption. */ label?: string; className?: string; } /** * MapLegend — data-agnostic color-ramp legend (GAP-04). * * The generalized `LegendRow`. The consumer computes `{ color, label }[]` from * its own paint module and passes it in; raw caller-supplied colors are allowed * (a paint ramp is inherently domain data, not a token). */ export declare function MapLegend({ entries, noData, label, className }: MapLegendProps): import("react").JSX.Element; export declare namespace MapLegend { var displayName: string; } //# sourceMappingURL=MapLegend.d.ts.map