import { ChartDataOptions, StyledMeasureColumn } from '@sisense/sdk-ui'; import { BaseChartSummary } from '../types'; export type MeasurePresentationFlags = { showOnRightAxis?: boolean; color?: StyledMeasureColumn['color']; }; /** * Snapshots per-measure presentation flags before translateChartToJSON, which * can mutate dataOptions in place and strip showOnRightAxis. */ export declare function snapshotCartesianMeasureFlags(dataOptions: ChartDataOptions | undefined): Map; /** * Re-applies presentation flags onto live dataOptions after translateChartToJSON * without replacing CSDK class instances (required for CustomSuperJSON). */ export declare function restoreCartesianMeasureFlags(dataOptions: ChartDataOptions | undefined, flags: Map): void; /** * Copies per-measure presentation flags from live dataOptions onto chartState * after translateChartToJSON, which can drop showOnRightAxis from the summary. */ export declare function syncChartStateMeasureFlagsFromDataOptions(chartState: BaseChartSummary, dataOptions: ChartDataOptions | undefined): BaseChartSummary;