/** * Global instance registry — tracks all active context-mem instances. * Each serve process registers itself at startup, deregisters at shutdown. * Dashboard reads this to discover all projects. * * Storage: ~/.context-mem/instances/{hash}.json */ export interface InstanceInfo { projectDir: string; projectName: string; dbPath: string; pid: number; startedAt: string; } export declare function registerInstance(projectDir: string, dbPath: string): void; export declare function deregisterInstance(projectDir: string): void; /** Get all active instances, pruning stale ones */ export declare function getActiveInstances(): InstanceInfo[]; //# sourceMappingURL=instance-registry.d.ts.map