import type { SessionEvent } from '@crosspane/protocol'; /** * 크래시 내성 링버퍼 — "죽기 직전까지"를 남기는 것이 이 SDK의 존재 이유다. * 페이지가 하드 크래시하면 에이전트도 함께 죽으므로, 이벤트는 도착 즉시 * 여기 쌓이고 export는 언제든 마지막 N개를 돌려준다. */ export declare class RingBuffer { private readonly capacity; private events; private dropped; constructor(capacity: number); push(event: SessionEvent): void; snapshot(): SessionEvent[]; /** 상한 초과로 버린 이벤트 수 — 캡처 파일의 `droppedEvents`로 나간다 */ get droppedCount(): number; } //# sourceMappingURL=buffer.d.ts.map