import type { Memory, ConsolidationLogEntry, AccessLogEntry, ProjectLink, MemoryVisibility } from '../types/index.js'; export declare class SQLiteStore { private db; constructor(dbPath?: string); init(): void; private migratePhase2; private migratePhase3; private migratePhase3Sharing; linkProjects(projectA: string, projectB: string): void; unlinkProjects(projectA: string, projectB: string): void; getLinkedProjects(project: string): string[]; getAllProjectLinks(): ProjectLink[]; updateVisibility(memoryId: string, visibility: MemoryVisibility): void; getSharedMemories(project: string, linkedProjects: string[]): Memory[]; getGlobalMemories(limit?: number): Memory[]; getEntitiesAcrossProjects(): Array<{ entity: string; projects: string[]; }>; insertAccessLog(entry: AccessLogEntry): void; incrementAccessCount(memoryId: string): void; updateStalenessScore(memoryId: string, score: number): void; getAllMemoriesForStaleness(): Array<{ id: string; created_at: string; access_count: number; last_accessed_at: string | null; has_graph_connections: boolean; }>; getMemoryAccessStats(limit?: number): { mostAccessed: Array<{ id: string; content: string; access_count: number; }>; leastAccessed: Array<{ id: string; content: string; access_count: number; }>; }; getStaleMemoryCount(threshold?: number): number; getAverageStaleness(): number; getMemoryCountByType(): Record; getMemoryCountByProject(): Record; getAllActiveMemories(filters?: { project?: string; types?: string[]; since?: string; minAccess?: number; limit?: number; }): Memory[]; getProjectLinksForProjects(projects: string[]): ProjectLink[]; memoryExists(id: string): boolean; getStalenessScore(memoryId: string): number; insertMemory(memory: Memory): void; getMemory(id: string): Memory | null; getMemoriesByIds(ids: string[]): Memory[]; getRecentMemories(project: string | null, limit: number): Memory[]; searchByProject(project: string, limit: number): Memory[]; softDelete(id: string): void; deleteByProject(project: string): void; getStats(): { totalMemories: number; totalEntities: number; totalRelationships: number; }; insertConsolidationLog(entry: ConsolidationLogEntry): void; close(): void; private rowToMemory; } //# sourceMappingURL=sqlite.d.ts.map