import type { HotInstance } from '../types'; import type { default as CellCoords } from '../../3rdparty/walkontable/src/cell/coords'; /** * Scrolls the browser's viewport to the specified element. * * @param {HTMLElement} element The element to scroll. */ export declare function scrollWindowToCell(element: HTMLElement | null): void; /** * Creates a scroll target calculator that calculates the target row and column best viewport * scroll position based on the current selection. * * @param {Core} hotInstance The Handsontable instance. * @returns {{ getComputedColumnTarget: Function, getComputedRowTarget: Function }} */ export declare function createScrollTargetCalculator(hotInstance: HotInstance): { /** * Calculates the target column for scrolling. * * @param {CellCoords} lastSelectionCoords The last selection coordinates. * @returns {number} */ getComputedColumnTarget(lastSelectionCoords: CellCoords): number; /** * Calculates the target row for scrolling. * * @param {CellCoords} lastSelectionCoords The last selection coordinates. * @returns {number} */ getComputedRowTarget(lastSelectionCoords: CellCoords): number; };