import { RunEvent, RunState } from '../types';
export declare class EventBuffer {
    private static readonly MAX_EVENTS_PER_RUN;
    private runStates;
    processEvent(event: RunEvent): void;
    getRunState(runId: string): RunState | undefined;
    getActiveRuns(): RunState[];
    markKilled(runId: string, reason: string): void;
    cleanup(): void;
    getRecentEvents(runId: string, count?: number): RunEvent[];
    getTokenEventsInWindow(runId: string, windowMs: number): RunEvent[];
}
//# sourceMappingURL=event-buffer.d.ts.map