import { ExtendedChartWidgetProps } from '../types'; /** * Serializes chartState for tool output while preserving live widget props. * translateChartToJSON can mutate dataOptions in place and drop presentation * flags such as showOnRightAxis — especially after y2Axis is enabled. */ export declare function finalizeChartWidgetSave(chartWidgetProps: ExtendedChartWidgetProps): void;