import { DisplayObject, LinearGradient, RadialGradient, RenderingPlugin, RenderingPluginContext } from '@antv/g-lite'; import { mat4 } from 'gl-matrix'; import { type DefElementManager } from './shapes/defs'; import type { SVGRendererPluginOptions } from './interfaces'; export declare const SVG_ATTR_MAP: Record; export declare const DEFAULT_VALUE_MAP: Record; export type GradientParams = LinearGradient | RadialGradient; /** * G_SVG_PREFIX + nodeName + entity * * eg. g_svg_circle_345 */ export declare const G_SVG_PREFIX = "g-svg"; export declare const CLIP_PATH_PREFIX = "clip-path-"; export declare const TEXT_PATH_PREFIX = "text-path-"; export declare class SVGRendererPlugin implements RenderingPlugin { private pluginOptions; private defElementManager; private context; static tag: string; constructor(pluginOptions: SVGRendererPluginOptions, defElementManager: DefElementManager, context: RenderingPluginContext); /** * Will be used in g-plugin-svg-picker for finding relative SVG element of current DisplayObject. */ private svgElementMap; /** * */ private $camera; /** * render at the end of frame */ private renderQueue; /** * dirty attributes at the end of frame */ private dirtyAttributes; /** * reorder after mounted */ private pendingReorderQueue; /** * elements in , which should be sync with clipPath * * @example * * * * */ private clipPathUseMap; apply(context: RenderingPluginContext): void; private getId; private reorderChildren; applyTransform($el: SVGElement, rts: mat4): void; private applyAttributes; private updateAttribute; createSVGDom(document: Document, object: DisplayObject, root: SVGElement, noWrapWithGroup?: boolean): void; private removeSVGDom; private createOrUpdateHitArea; private createOrUpdateInnerHTML; private createOrUpdateClipOrTextPath; } //# sourceMappingURL=SVGRendererPlugin.d.ts.map