type ViewerRoot = ShadowRoot | HTMLElement; interface SvgViewerOptions { /** Query within the supplied container. Only outermost SVGs are enhanced. */ selector?: string; /** Skip small icons; data-svg-viewer="on" overrides these thresholds. */ minWidth?: number; minHeight?: number; /** Zoom bounds relative to Fit (1 = 100%). Must include 1. */ minZoom?: number; maxZoom?: number; /** * Copy legacy `xlink:href` links into `href`, resolved like TechDocs resolves * document links, so TechDocs routes them in-app. The addon enables this. */ resolveXlinkHref?: boolean; } /** Install on an HTML container or a TechDocs shadow root. */ declare function installSvgViewer(root: ViewerRoot, options?: SvgViewerOptions): () => void; export { installSvgViewer }; export type { SvgViewerOptions };