/** * Session Recording Sampler * * Provides hash-based deterministic sampling for session recording to reduce recording volume. * Same sessionId always produces the same decision (consistent across tabs and page reloads). */ /** * Determines whether session recording should be enabled for the current session. * Uses deterministic hash-based sampling for consistency across tabs. * * @param sampleRate - Percentage of sessions to record (0-100). * Undefined or invalid values default to 5%. * @param sessionId - Backend session ID for deterministic sampling (required) * @returns true if recording should be enabled, false otherwise */ export declare function shouldSampleRecording(sampleRate: number | undefined, sessionId: string): boolean;