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

export declare class SVGBrowserDOMApi implements DOMApi {
    doc: Document;
    constructor(document: 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): void;
    toString(): string;
    text(text: string): 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): void;
    insert(parent: SVGElement, child: SVGElement): void;
}
