import type { ChartRenderer } from './renderer-type'; import type { ChartData } from './chart-types'; import type { ExtendedUnion } from '../../treb-base-types/src/index'; import type { ChartFunction } from './chart-functions'; /** * transitioning to new structure, this should mirror the old chart * interface (at least the public interface) */ export declare class Chart { renderer: ChartRenderer; /** flag indicating we've registered at least once */ static functions_registered: boolean; protected chart_data: ChartData; protected node?: HTMLElement; constructor(renderer?: ChartRenderer); Initialize(node: HTMLElement): void; Exec(func: ChartFunction, union: ExtendedUnion): void; Clear(): void; /** pass through */ Resize(): void; /** pass through */ Update(): void; }