/** * Configuration for chart legend items. */ export interface ChartLegendItem { /** Display label for the legend entry */ label: string; /** CSS color value for the indicator dot */ color: string; } /** * Configuration object for the chart legend component. */ export interface ChartLegendConfig { /** Array of legend items to display */ items: ChartLegendItem[]; } /** * seki-chart-legend: A standalone legend component for charts. * * Renders a list of colored dot indicators paired with labels. * Designed to complement the seki-chart component but can be used independently. * * @component ChartLegend * @example * * // Set config via JS: * legend.config = { items: [{ label: 'Revenue', color: '#3b82f6' }] }; */ export declare class SekiChartLegend { el: HTMLElement; /** * Legend configuration containing an array of items with label and color. * Must be set via JavaScript property (not HTML attribute). */ config?: ChartLegendConfig; /** * Layout orientation of the legend items. * @default 'horizontal' */ orientation: 'horizontal' | 'vertical'; render(): any; }