/** * Agent registry — tracks agent profiles and per-agent write statistics. * * Agents are registered via `registerAgent(profile)` which upserts a * `agent//profile` entry and initialises a `stats` sibling. Stats * are updated by `updateStats()` after every write action and auto-initialised * for agents that write without registering first (so stat tracking never * silently drops events). * * Key exports: * - `registerAgent(profile)` — upsert profile + init stats * - `updateStats(agentId, action, confidence)` — increment counters * - `getAgent(agentId)` — fetch profile + stats together * - `whoKnows(entityType, entityId)` — list agents that contributed to an entity * - `listAgents()` — all registered profiles * - `assignToTeam(agentId, teamId, createdBy)` — add MEMBER_OF relationship */ export interface AgentProfile { agentId: string; name: string; description: string; capabilities: string[]; model?: string; properties?: Record; } export interface AgentStats { totalWrites: number; totalRejections: number; totalEscalations: number; avgConfidence: number; lastSeen: string; isActive: boolean; } export interface AgentRecord { profile: AgentProfile; stats: AgentStats; } export declare function registerAgent(profile: AgentProfile): Promise; export declare function updateStats(agentId: string, action: 'created' | 'updated' | 'rejected' | 'escalated', confidence: number): Promise; export declare function getAgent(agentId: string): Promise; export declare function whoKnows(entityType: string, entityId: string): Promise>; export declare function listAgents(): Promise; export declare function assignToTeam(agentId: string, teamId: string, createdBy: string): Promise; //# sourceMappingURL=agent-registry.d.ts.map