/** * Recorder Entrypoint * * This file is built as a separate bundle (recorder.js) that can be * lazy-loaded when session recording is enabled. * * It exports: * - rrweb.record: The rrweb record function * - rrwebPlugins: Plugins for console recording * - initSessionRecording: Factory function to create LazyLoadedSessionRecording */ import { record as rrwebRecord } from "@rrweb/record"; import { LazyLoadedSessionRecordingInterface } from "../utils/globals"; import type { SessionRecordingConfig } from "../extensions/replay/types"; import type { VTilt } from "../vtilt"; /** * Factory function to create a LazyLoadedSessionRecording instance * * Called by SessionRecordingWrapper after the recorder script is loaded */ declare function initSessionRecording(instance: VTilt, config?: SessionRecordingConfig): LazyLoadedSessionRecordingInterface; export { initSessionRecording }; export default rrwebRecord;