import { Chart } from '../../core/Chart'; import { StackedChart, StackedChartOptions } from '../../core/stacked/types'; import { ChartOptions, Bounds } from '../../types'; import { BindingChartOptions } from './types'; /** Create a stacked chart with extended series registered (binding-safe). */ export declare function createRegisteredStackedChart(options: StackedChartOptions): StackedChart; export type ChartBindingOptions = Omit & BindingChartOptions; export interface ChartLifecycleHandle { chart: Chart; destroy: () => void; getBounds: () => Bounds | null; } export interface ChartLifecycleCallbacks { onBoundsChange?: (bounds: Bounds) => void; onError?: (error: Error) => void; } export declare function createChartLifecycle(container: HTMLDivElement, options: ChartBindingOptions, callbacks?: ChartLifecycleCallbacks): ChartLifecycleHandle; export declare function attachZoomListener(chart: Chart, onBoundsChange: (bounds: Bounds) => void): () => void;