import { NavigationContext } from './ChartNavigation'; import { ZoomOptions } from '../../types'; /** * Auto-scale all axes to fit data */ export declare function autoScaleAll(ctx: NavigationContext): void; /** * Fit view to data or explicit ranges. Returns false when there is nothing to fit. */ export declare function fitToData(ctx: NavigationContext, options?: { x?: [number, number]; y?: [number, number]; padding?: number | { x?: number; y?: number; }; }): boolean; /** * Auto-scale only Y-axes to fit data (keeps X-axis stable) * Used during streaming to prevent X-axis shifting */ export declare function autoScaleYOnly(ctx: NavigationContext): void; /** * Handle box zoom selection */ export declare function handleBoxZoom(ctx: NavigationContext, selectionRect: { x: number; y: number; width: number; height: number; } | null, currentRect: { x: number; y: number; width: number; height: number; } | null, zoom: (options: ZoomOptions) => void): { x: number; y: number; width: number; height: number; } | null;