import type { RumConfiguration } from '@openobserve/browser-rum-core'; import type { BrowserIncrementalSnapshotRecord } from '../../types'; import type { ElementsScrollPositions } from './elementsScrollPositions'; import type { SerializationScope } from './serialization'; export type ShadowRootCallBack = (shadowRoot: ShadowRoot) => void; export interface ShadowRootsController { addShadowRoot: ShadowRootCallBack; removeShadowRoot: ShadowRootCallBack; stop: () => void; flush: () => void; } export declare const initShadowRootsController: (configuration: RumConfiguration, scope: SerializationScope, callback: (record: BrowserIncrementalSnapshotRecord) => void, elementsScrollPositions: ElementsScrollPositions) => ShadowRootsController;