import type { ZoomChangeHandler } from '../../../core/types/interactions.js'; /** * Remembers the x-zoom the user applies while a span is isolated so it can be * fed back to the x-axis as `currentZoom`. XYChart rebuilds its zoom from * `currentZoom` whenever an axis domain changes, and toggling the ancestor rows * changes the y-domain — without this the zoom would reset on every toggle. * * The zoom belongs to one isolation: it is cleared whenever `isolatedId` * changes, so a new isolation (or going back / forward) starts un-zoomed. * @internal */ export declare function useIsolatedZoom(isolatedId: unknown): { currentZoom: [number, number] | undefined; onZoomChange: ZoomChangeHandler; }; //# sourceMappingURL=use-isolated-zoom.d.ts.map