import { type RingBufferEntry } from "./ring-buffer.js"; export interface BridgeEventPayload { readonly category: "status" | "output" | "question" | "file_changed"; readonly agentId: string; readonly sessionId: string | null; readonly status?: string; readonly output?: string; readonly seq?: number; readonly questions?: unknown[]; readonly actionType?: string; readonly actionLabel?: string; readonly actionDetail?: string; readonly actionInput?: string; readonly actionResult?: string; readonly actionId?: string; readonly parentId?: string; readonly inputTokens?: number; readonly outputTokens?: number; readonly cacheHitTokens?: number; readonly cacheMissTokens?: number; readonly sourceEventType?: string; readonly logLevel?: string; readonly logCategory?: string; readonly workspacePath?: string; readonly filePath?: string; readonly eventType?: string; readonly size?: number; } declare class AgentEventStore { private readonly agents; private ensureBuffer; append(agentId: string, payload: BridgeEventPayload): RingBufferEntry; appendOrMergeOutput(agentId: string, payload: BridgeEventPayload): RingBufferEntry; size(agentId: string): number; } export declare const agentEventStore: AgentEventStore; export {};