UNPKG

@coralogix/browser

Version:

Official Coralogix SDK for browsers

10 lines (9 loc) 890 B
import type { MutationBufferParam, observerParam } from '../types'; import type { hooksParam, listenerHandler } from '../../rrweb-types'; import MutationBuffer from './mutation'; export declare const mutationBuffers: MutationBuffer[]; export declare function initMutationObserver(options: MutationBufferParam, rootEl: Node): MutationObserver; export declare function initScrollObserver({ scrollCb, doc, mirror, blockClass, blockSelector, sampling, }: Pick<observerParam, 'scrollCb' | 'doc' | 'mirror' | 'blockClass' | 'blockSelector' | 'sampling'>): listenerHandler; export declare const INPUT_TAGS: string[]; export declare function initAdoptedStyleSheetObserver({ mirror, stylesheetManager, }: Pick<observerParam, 'mirror' | 'stylesheetManager'>, host: Document | ShadowRoot): listenerHandler; export declare function initObservers(o: observerParam, hooks?: hooksParam): listenerHandler;