import { LitElement } from 'lit'; export interface ChartDataPoint { label: string; value: number; color?: string; } export interface ChartSeries { name: string; data: number[]; color?: string; } /** * Chart component for data visualization * * @element ui-chart * * @prop {'line' | 'bar' | 'pie' | 'area' | 'donut'} type - Chart type * @prop {ChartDataPoint[] | ChartSeries[]} data - Chart data * @prop {string[]} labels - X-axis labels (for line/bar/area charts) * @prop {string} title - Chart title * @prop {boolean} showLegend - Show legend * @prop {boolean} showGrid - Show grid lines * @prop {boolean} showValues - Show data values * @prop {boolean} animated - Enable animations * @prop {'sm' | 'md' | 'lg'} size - Chart size * @prop {number} width - Custom width * @prop {number} height - Custom height * @prop {string} ariaLabel - Accessible label for the chart * @prop {string} ariaDescribedby - ID of element describing the chart * * @fires data-point-click - Fired when a data point is clicked * * @csspart container - The chart container * @csspart title - Chart title * @csspart legend - Chart legend */ export declare class Chart extends LitElement { type: 'line' | 'bar' | 'pie' | 'area' | 'donut'; data: ChartDataPoint[] | ChartSeries[]; labels: string[]; title: string; showLegend: boolean; showGrid: boolean; showValues: boolean; animated: boolean; size: 'sm' | 'md' | 'lg'; width: number; height: number; ariaLabel: string; ariaDescribedby: string; private hoveredIndex; private focusedIndex; private chartId; private descriptionId; private readonly defaultColors; static styles: import("lit").CSSResult; connectedCallback(): void; disconnectedCallback(): void; private handleKeyDown; private announceFocusedDataPoint; private getChartAriaLabel; private getDataSummary; private getChartDimensions; private getColor; private isSimpleData; private handleDataPointClick; private renderLineChart; private renderBarChart; private renderPieChart; private renderChart; private renderLegend; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-chart': Chart; } } //# sourceMappingURL=chart.d.ts.map