/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { ElementRef } from '@angular/core';
export declare class DomUtil {
    /**
     * Scrolls view to a element so that the element becomes visible in the viewport.
     * If a css style selector is provided then the element to scroll is the html element
     * described by the css selector which parent is the provided element.
     * Id a css style selector is not provided then the element to scroll is the provided
     * element itself.
     *
     * @param elRef the view's element.
     * @param classSelector the css-style selector for the element to scroll to.
     */
    static scrollToElement(elRef: ElementRef, classSelector?: string): void;
}
