import type PostHogReactNativeSessionReplay from 'posthog-react-native-session-replay'; /** * Extended type for the session replay plugin. * * Methods marked as optional may not exist in older plugin versions. * The SDK checks for their availability at runtime before calling them. */ export type PostHogReactNativeSessionReplayExtended = typeof PostHogReactNativeSessionReplay & { startRecording?: (resumeCurrent: boolean) => Promise; stopRecording?: () => Promise; }; export declare let OptionalReactNativeSessionReplay: PostHogReactNativeSessionReplayExtended | undefined;