type AutoScrollDirection = 'horizontal' | 'vertical' | 'both';
type AutoScrollOptions = {
    edgeThreshold?: number;
    maxSpeed?: number;
};
export declare class DnDAutoScroller {
    private readonly _container;
    private readonly _direction;
    private readonly _edgeThreshold;
    private readonly _maxSpeed;
    private _clientX;
    private _clientY;
    private _rafId;
    private _active;
    constructor(scrollContainer: HTMLElement, direction: AutoScrollDirection, options?: AutoScrollOptions);
    update(clientX: number, clientY: number): void;
    destroy(): void;
    private _startLoop;
    private _getVisibleRect;
    private _scrollStep;
    /**
     * Returns scroll delta for one axis.
     * Negative when cursor is near the start edge, positive when near the end edge.
     */
    private _calcDelta;
}
export {};
