import { type ScaleRange } from './state'; import type { Point, Scale } from 'chart.js'; import type { LimitOptions } from './options'; export type ZoomFunction = (scale: Scale, zoom: number, center: Point, limits: LimitOptions) => boolean; export type ZoomRectFunction = (scale: Scale, from: number, to: number, limits: LimitOptions) => boolean; export type PanFunction = (scale: Scale, delta: number, limits: LimitOptions) => boolean; export declare function zoomDelta(val: number | undefined, min: number | undefined, range: number, newRange: number): ScaleRange; export declare function updateRange(scale: Scale, { min, max }: ScaleRange, limits?: LimitOptions, zoom?: boolean, pan?: boolean): boolean; export declare const zoomFunctions: Record; export declare const zoomRectFunctions: Record; export declare const panFunctions: Record; //# sourceMappingURL=scale.types.d.ts.map