/** * StatusLegend — a compact key that maps a colored swatch (with optional icon * for shape redundancy) to a human label. Explains the tones used by diagrams, * timelines, maps, and spatial scenes. * * Domain-neutral: callers supply the entries and their tones. Rendered as a * semantic list; color is never the only signal — every entry has a label, and * may carry an icon so it survives a monochrome print or color-blind viewer. */ import type { ReactNode } from "react"; import { type StatusLegendOrientation, type StatusLegendTone } from "./variants.js"; export * from "./variants.js"; export type StatusLegendItem = { id: string; label: ReactNode; /** Swatch color. Defaults to `default`. */ tone?: StatusLegendTone; /** Icon shown in the swatch for shape redundancy; a solid dot renders otherwise. */ icon?: ReactNode; }; export type StatusLegendProps = { items: readonly StatusLegendItem[]; orientation?: StatusLegendOrientation; /** Swatch size. Defaults to `sm`. */ size?: "sm" | "md"; ariaLabel?: string; }; export declare function StatusLegend({ items, orientation, size, ariaLabel, }: StatusLegendProps): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map