import { NsFallback, ObserverOptionsInternal } from '@jiotranslate/core-beta'; import { TranslationOnClick } from '@jiotranslate/core-beta'; import { ElementMeta, NodeMeta, JioTranslateElement } from '../../types'; import { ElementStoreType } from './ElementStore'; export declare function ElementRegistry(options: ObserverOptionsInternal, elementStore: ElementStoreType, onClick: TranslationOnClick, getTranslation: any, initialOptions: any): Readonly<{ isRestricted: (element: Element) => boolean; register(element: Element, node: Node, nodeMeta: NodeMeta): void; forEachElement: (callback: (el: JioTranslateElement, meta: ElementMeta) => void) => void; cleanupLingeringKeyAttributes(): void; cleanupRemovedNodes(removedNodes: Set): void; findAll(key?: string, ns?: NsFallback): ElementMeta[]; run(mouseHighlight: boolean): void; stop(): void; }>; export type ElementRegistryInstance = ReturnType;