import Database from 'better-sqlite3';
export declare function getDb(): Database.Database;
export declare function closeDb(): void;
export declare function initializeDatabase(): void;
export declare function backupDatabase(): string;
export declare function getDatabaseStats(): Record<string, unknown>;
export interface MigrationStats {
    patterns: number;
    scans: number;
    behaviorEvents: number;
    journeyEvents: number;
    skills: number;
    collaborators: number;
    silos: number;
    communitySignals: number;
    projects: number;
    insights: number;
    configEntries: number;
    userProfiles: number;
    failures: number;
    total: number;
}
export declare function migrateJsonToSqlite(): MigrationStats;
export declare function optimizeDatabase(): Record<string, unknown>;
//# sourceMappingURL=database.d.ts.map