import { ElementRef } from '@angular/core'; export declare function query(selector: string, parent?: T | Document): T; export declare function queryAll(selector: string, parent?: Document): NodeListOf; export declare function setStyle(element: any, prop: string, value: string | number): void; export declare function setAttr(element: Element, attr: string, value: string): void; export declare function getAttr(element: Element, attr: string): string; export declare function setStyles(element: any, map: object): void; export declare function addClass(element: any, className: string | string[]): void; export declare function toggleClass(element: T, className: string, condition: boolean): void; export declare function removeClass(element: any, className: string): void; export declare function setAttribute(element: T, name: string, value: string): any; export declare function setAttribute(element: T, attributes: { [key: string]: string; }): any; export declare function createElement(tagName: string): HTMLElement; export declare function appendChild(parent: HTMLElement, child: Node): Node; export declare function prependChild(parent: HTMLElement, child: Node): void; export declare function appendToBody(child: HTMLElement): () => void; export declare function appendScript(source: string, id: string): void; export declare function appendStyle(source: string, id: string): void; export declare function getElementCoords(elem: Element): { top: number; left: number; width: number; height: number; }; export declare function closest(element: Element, selector: string): Element; export declare function coerceElement(elementOrRef: ElementRef | T): T; export declare function noop(): void;