import type { WidgetProps } from '../widget/types';
/**
 * Injects the navigator scroller-change callback into the widget's navigator style options.
 * Only activates when the widget has a navigator configuration so the event handler is not
 * registered on charts that never show the navigator.
 *
 * @param onScrollerChange - Invoked with navigator min/max when the scroller moves.
 * @returns Widget props transformer for use in a `flow` pipeline.
 */
export declare function withNavigatorScrollSave(onScrollerChange: (min: number, max: number) => void): (widgetProps: WidgetProps) => WidgetProps;
