/**
 * Service providing DOM utilities
 */
/**
 * @ignore
 */
export declare class DomUtilService {
    private document;
    constructor(document: any);
    /**
     * Gets the closest parent element matching the specified selector
     * @param elem the source element
     * @param selector the selector to match
     * @returns the matching element
     */
    getClosest: (elem: HTMLElement | undefined, selector: string) => HTMLElement | null;
}
