import type { Grid } from "../+types.js";
import type { InternalAtoms } from "../state/+types.js";
export declare function useEdgeScroll(grid: Grid<any> & {
    internal: InternalAtoms;
}): {
    cancelX: () => void;
    edgeScrollX: (visualPositionX: number, isRtl: boolean) => void;
    cancelY: () => void;
    edgeScrollY: (visualPositionY: number) => void;
};
