import type { Dimensions, XYPosition } from '../types' export declare function calcAutoPan(pos: XYPosition, bounds: Dimensions): number[]