import { DatabaseMigrator } from './migrations.js'; export interface SemanticConcept { id: string; conceptName: string; conceptType: string; confidenceScore: number; relationships: Record; evolutionHistory: Record; filePath: string; lineRange: { start: number; end: number; }; createdAt: Date; updatedAt: Date; } export interface DeveloperPattern { patternId: string; patternType: string; patternContent: Record; frequency: number; contexts: string[]; examples: Record[]; confidence: number; createdAt: Date; lastSeen: Date; } export interface FileIntelligence { filePath: string; fileHash: string; semanticConcepts: string[]; patternsUsed: string[]; complexityMetrics: Record; dependencies: string[]; lastAnalyzed: Date; createdAt: Date; } export interface AIInsight { insightId: string; insightType: string; insightContent: Record; confidenceScore: number; sourceAgent: string; validationStatus: 'pending' | 'validated' | 'rejected'; impactPrediction: Record; createdAt: Date; } export interface FeatureMap { id: string; projectPath: string; featureName: string; primaryFiles: string[]; relatedFiles: string[]; dependencies: string[]; status: string; createdAt: Date; updatedAt: Date; } export interface EntryPoint { id: string; projectPath: string; entryType: string; filePath: string; description?: string; framework?: string; createdAt: Date; } export interface KeyDirectory { id: string; projectPath: string; directoryPath: string; directoryType: string; fileCount: number; description?: string; createdAt: Date; } export interface WorkSession { id: string; projectPath: string; sessionStart: Date; sessionEnd?: Date; lastFeature?: string; currentFiles: string[]; completedTasks: string[]; pendingTasks: string[]; blockers: string[]; sessionNotes?: string; lastUpdated: Date; } export interface ProjectDecision { id: string; projectPath: string; decisionKey: string; decisionValue: string; reasoning?: string; madeAt: Date; } export declare class SQLiteDatabase { private db; private migrator; constructor(dbPath?: string); private initializeDatabase; getMigrator(): DatabaseMigrator; insertSemanticConcept(concept: Omit): void; getSemanticConcepts(filePath?: string): SemanticConcept[]; insertDeveloperPattern(pattern: Omit): void; getDeveloperPatterns(patternType?: string, limit?: number): DeveloperPattern[]; insertFileIntelligence(fileIntel: Omit): void; getFileIntelligence(filePath: string): FileIntelligence | null; insertAIInsight(insight: Omit): void; getAIInsights(insightType?: string): AIInsight[]; insertFeatureMap(feature: Omit): void; getFeatureMaps(projectPath: string): FeatureMap[]; searchFeatureMaps(projectPath: string, query: string): FeatureMap[]; getFeatureByName(projectPath: string, featureName: string): FeatureMap | null; insertEntryPoint(entryPoint: Omit): void; getEntryPoints(projectPath: string): EntryPoint[]; insertKeyDirectory(directory: Omit): void; getKeyDirectories(projectPath: string): KeyDirectory[]; insertProjectMetadata(metadata: { projectId: string; projectPath: string; projectName?: string; languagePrimary?: string; languagesDetected?: string[]; frameworkDetected?: string[]; intelligenceVersion?: string; lastFullScan?: Date; }): void; getProjectMetadata(projectPath: string): { projectId: string; projectPath: string; projectName?: string; languagePrimary?: string; languagesDetected: string[]; frameworkDetected: string[]; intelligenceVersion?: string; lastFullScan?: Date; createdAt: Date; updatedAt: Date; } | null; createWorkSession(session: Omit): void; updateWorkSession(sessionId: string, updates: Partial>): void; getCurrentWorkSession(projectPath: string): WorkSession | null; getWorkSessions(projectPath: string, limit?: number): WorkSession[]; upsertProjectDecision(decision: Omit): void; getProjectDecisions(projectPath: string, limit?: number): ProjectDecision[]; getProjectDecision(projectPath: string, decisionKey: string): ProjectDecision | null; close(): void; } //# sourceMappingURL=sqlite-db.d.ts.map