/** * Fixed-capacity circular buffer. When full, new items overwrite the oldest. */ export declare class RingBuffer { private buffer; private head; private count; private readonly capacity; constructor(capacity: number); push(item: T): void; get size(): number; /** Returns entries oldest-first */ toArray(): T[]; clear(): void; } //# sourceMappingURL=ring-buffer.d.ts.map