import React from 'react'; import { U as UseSessionableMetricsResult, d as UseSessionableResult, e as SessionRecorderProps } from './sessionable-2c39bcd4.js'; import 'rrweb'; /** * Hook to access only the metrics from the Sessionable instance. * Use this when you only need the metrics and want to avoid re-renders * when other parts of the Sessionable instance change. * @returns {UseSessionableMetricsResult} The current metrics or null if not available */ declare const useSessionableMetrics: () => UseSessionableMetricsResult; /** * Custom hook to access the Sessionable instance and the stable isRecording state. * This hook only subscribes to the instance context and won't re-render when metrics change. * * @returns {UseSessionableResult} Object containing the Sessionable instance and convenience methods */ declare const useSessionable: () => UseSessionableResult; /** * React component for Sessionable recording * This is a provider component that makes the Sessionable instance * available to child components via the useSessionable hook. */ declare const SessionRecorder: React.FC>; export { SessionRecorder, SessionRecorderProps, useSessionable, useSessionableMetrics };