import { EventEmitter } from '../../stencil-public-runtime'; import type { ChartDefinition, ChartPoint } from '../../utils/chart-grammar'; export type ChartFocusSource = 'pointer' | 'keyboard'; export interface ChartFocusChangeDetail { primary: ChartPoint | null; points: readonly ChartPoint[]; source: ChartFocusSource; } export declare class Chart { el: HTMLElement; /** Typed chart definition. Set as a JavaScript property, not an HTML attribute. */ definition: ChartDefinition; /** Required accessible name for the visualization. */ label: string; /** Optional longer accessible description. */ description?: string; /** Locale used by axes and default tooltip formatters. */ locale?: string; /** Fixed surface width. Otherwise the chart observes its container. */ width?: number; /** Product-owned surface height. Wins over aspectRatio. */ height?: number; /** Derives height from the current width when height is not supplied. */ aspectRatio?: number; /** Fires whenever pointer or keyboard focus resolves to semantic chart points. */ dsChartFocusChange: EventEmitter; private surfaceWidth; private containerHeight?; private scene?; private focusState?; private pointerAnchor?; private resizeObserver?; private resizeFrame?; private compileFrame?; private warnedConflictingHeight; private measuredLabels; private descriptionId; private clipId; componentWillLoad(): void; componentDidLoad(): void; componentDidRender(): void; disconnectedCallback(): void; onDefinitionInputChange(): void; onWidthChange(): void; private get surfaceHeight(); private connectResizeObserver; private measureHost; private applyMeasuredSize; private scheduleCompile; private compile; private waitForFonts; private measureRenderedLabels; private resolveFocus; private clearFocus; private onPointerMove; private onPointerLeave; private keyboardPoints; private onKeyDown; private renderNode; private renderMarkLayers; private focusedDotPoints; private tooltipContent; private statusText; render(): any; } //# sourceMappingURL=Chart.d.ts.map