import { ScrollBarDirection } from '../interface';
/**
 * 保证返回的值在[start,end]范围内
 * @param target
 * @param start
 * @param end
 * @returns
 */
export declare function ensureRangeValue(target: number, start?: number, end?: number): number;
/**
 * 获得某个可滚动元素的一些关键数据
 * @param dom 可滚动元素
 * @param direction 滚动方向
 * @returns
 */
export declare function getScrollable(dom: HTMLElement, direction: ScrollBarDirection): {
    totalSize: number;
    visibleSize: number;
    distance: number;
    topOrLeft: string;
    widthOrHeight: string;
};
/**
 * 某个元素是否在某个方向上可滚动
 * @param dom
 * @param direction
 * @returns
 */
export declare function isScrollable(dom: HTMLElement, direction: ScrollBarDirection): boolean;
