export type ScrollbarMode = 'outer' | 'inner';
export type ScrollbarModeConfig = {
    scrollbarMode?: unknown;
    SCROLLBAR_MODE?: unknown;
    SCROLLER_TRACK_SIZE?: number;
};
export declare function getScrollbarMode(config: ScrollbarModeConfig): ScrollbarMode;
export declare function isInnerScrollbarMode(config: ScrollbarModeConfig): boolean;
export declare function getLayoutScrollerTrackSize(config: ScrollbarModeConfig): number;
export declare function getOverlayScrollerTrackSize(config: ScrollbarModeConfig): number;
export declare function getScrollbarCornerOffset(config: ScrollbarModeConfig, hasOppositeScrollbar: boolean): number;
export declare function getScrollbarThumbEndInset(config: ScrollbarModeConfig): number;
export declare function shouldDrawScrollbarTrackBorder(config: ScrollbarModeConfig): boolean;
export declare function shouldDrawScrollbarTrackBackground(config: ScrollbarModeConfig): boolean;
export type ScrollbarVisibilityState = {
    innerVisible: boolean;
    isFocus: boolean;
    isDragging: boolean;
};
export declare function shouldStartInnerScrollbarShowTimer(config: ScrollbarModeConfig, isPointerInsideTable: boolean): boolean;
export declare function shouldDrawScrollbar(config: ScrollbarModeConfig, state: ScrollbarVisibilityState): boolean;
