import * as React from "react"; export type ChartLegendItem = { /** 未指定時は label。棒と線で同名の系列を区別する */ id?: string; label: string; color: string; hidden: boolean; /** false のときクリックでトグルしない(目標線など) */ interactive?: boolean; /** 目標線などは細い横線スウォッチ */ swatchVariant?: "swatch" | "line"; }; type ChartLegendProps = { items: ChartLegendItem[]; interactive?: boolean; onToggle: (label: string) => void; }; export declare const ChartLegend: React.FC; export {};