import * as i0 from "@angular/core";
/**
 * Service providing scrolling-related utilities.
 */
export declare class ScrollbarUtils {
    private static scrollbarWidth?;
    private static scrollbarHeight?;
    /**
     * Computes the width/height (in px) of vertical/horizontal scrollbars in the
     * user's browser and caches the results. This method should only ever be
     * called once.
     */
    private static computeScrollbarSizes;
    /**
     * Width (in px) of a vertical scrollbar in the user's browser. This value is
     * only computed once and cached for subsequent calls.
     * @returns Width of the vertical scrollbar in the user's browser.
     */
    get verticalScrollbarWidth(): number;
    /**
     * Height (in px) of a horizontal scrollbar in the user's browser. This value
     * is only computed once and cached for subsequent calls.
     * @returns Height of the horizontal scrollbar in the user's browser.
     */
    get horizontalScrollbarHeight(): number;
    /**
     * Whether a given DOM element has a vertical scrollbar.
     * @param element Element to check for vertical scrollbar.
     * @returns Whether the provided element has a vertical scrollbar.
     */
    hasVerticalOverflow(element: HTMLElement): boolean;
    /**
     * Whether a given DOM element has a horizontal scrollbar.
     * @param element Element to check for horizontal scrollbar.
     * @returns Whether the provided element has a horizontal scrollbar.
     */
    hasHorizontalOverflow(element: HTMLElement): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<ScrollbarUtils, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ScrollbarUtils>;
}
