import type { ChartData, ChartOptions, ChartType } from './chart-types'; export declare class SekiChart { el: HTMLElement; type: ChartType; data?: ChartData; options?: ChartOptions; colors?: string[]; height: string; dataJson?: string; optionsJson?: string; /** Stack datasets on top of each other (bar/line/area charts) */ stacked: boolean; /** Display bar charts horizontally (sets indexAxis to 'y') */ horizontal: boolean; /** Apply a gradient fill to line/area chart datasets */ gradient: boolean; /** Display pie/doughnut charts with a cutout (donut style) */ donut: boolean; /** Hide grid lines on x and y axes */ hideGrid: boolean; /** Hide tick labels on x and y axes */ hideAxes: boolean; /** Hide the chart legend */ hideLegend: boolean; /** Hide tooltips on hover */ hideTooltip: boolean; private chartInstance?; private canvasRef?; private updateTimeout?; private themeObserver?; private colorSchemeQuery?; private themeFrame?; private drawnThemeSignature?; render(): any; private getAriaLabel; private renderErrorState; private parseDataJson; private parseOptionsJson; connectedCallback(): void; componentDidLoad(): void; disconnectedCallback(): void; /** * The effective color scheme can change via `data-theme` on or any * ancestor (attribute, class or inline style) or via the OS preference, so * watch all of them and redraw only when the resolved colors really differ. */ private observeTheme; private unobserveTheme; private handleColorSchemeChange; private scheduleThemeCheck; handlePropsChange(): void; private renderChart; private applyVariantOptions; private applyGradientFill; private getColors; private applyThemeColors; }