import App from '../index.js'; export declare function parseUseEl(useElement: SVGUseElement, mode: 'inline' | 'dataurl' | 'svgtext', domParser: DOMParser): Promise; interface Options { disableSprites?: boolean; disableThrottling?: boolean; inlineRemoteCss?: boolean; inlinerOptions?: { forceFetch?: boolean; forcePlain?: boolean; }; } export default abstract class Observer { protected readonly app: App; protected readonly isTopContext: boolean; private readonly observer; private readonly commited; private readonly recents; private readonly indexes; private readonly attributesMap; private readonly textSet; private readonly slotMap; private readonly disableSprites; /** * this option means that, instead of using link element with href to load css, * we will try to parse the css text instead and send it as css rules set * can (and will) affect performance * */ private readonly inlineRemoteCss; private readonly inlinerOptions; private readonly domParser; constructor(app: App, isTopContext?: boolean, options?: Options); private clear; /** * EXPERIMENTAL: Unbinds the removed nodes in case of iframe src change. * * right now, we're relying on nodes.maintainer */ private handleIframeSrcChange; private sendNodeAttribute; throttling: boolean; private throttledSetNodeData; private sendNodeData; private bindNode; private bindTree; private unbindTree; private _commitNode; private commitNode; private commitNodes; protected observeRoot(node: Node, beforeCommit: (id?: number) => unknown, nodeToBind?: Node): void; disconnect(): void; } export {};