import { DOMApi } from '../dom-api';

export declare class SVGRehydrationBrowserDOMApi implements DOMApi {
    doc: Document;
    constructor(doc: Document);
    isNode(node: Node): node is Node;
    destroy(node: Node): void;
    clearChildren(element: Node): void;
    parent(node: Node): ParentNode | null;
    comment(text?: string): Comment;
    fragment(): DocumentFragment;
    addEventListener(_: Node, __: string, ___: EventListener): undefined;
    toString(): string;
    text(text: string | number): Text;
    textContent(node: Node, text: string): void;
    element(tagName: string): SVGElement;
    attr(element: SVGElement, name: string, value: string): void;
    prop(element: SVGElement, name: string, value: string): string;
    insert(parent: SVGElement, child: SVGElement, anchor?: SVGElement | null): void;
}
