import type { SubAgentDocument, SubAgentEvent, SubAgentRecord } from "./sub-agent-types.js"; export declare class SubAgentStore { private readonly dir; private writeChain; constructor(); private filePath; private eventsFilePath; read(agentId: string): Promise; get(agentId: string, subId: string): Promise; write(agentId: string, subAgents: SubAgentRecord[]): Promise; upsert(agentId: string, record: SubAgentRecord): Promise; updateStatus(agentId: string, subId: string, patch: Partial): Promise; list(agentId: string): Promise; appendEvent(agentId: string, subId: string, event: SubAgentEvent): Promise; readEvents(agentId: string, subId: string): Promise; reconcileZombies(): Promise; }