import type { ReplayStats } from '@flashcatcloud/browser-rum-core'; export declare const MAX_STATS_HISTORY = 1000; export declare function getSegmentsCount(viewId: string): number; export declare function addSegment(viewId: string): void; export declare function addRecord(viewId: string): void; export declare function addWroteData(viewId: string, additionalBytesCount: number): void; /** * Gives back the segment count {@link addSegment} took, and with it the `index_in_view` the segment * was holding. Segment collection serializes encoder operations, so a dropped segment returns its * reservation after the release decision and before the next segment is created. */ export declare function removeSegment(viewId: string): void; /** * Rolls back what a dropped segment's records contributed. These are the counters reported on view * events, and a withheld segment that is dropped never reached the intake, so it must leave no * trace in them. */ export declare function discardSegmentData(viewId: string, rawBytesCount: number, recordsCount: number): void; export declare function getReplayStats(viewId: string): ReplayStats | undefined; export declare function resetReplayStats(): void;