import type { Database, Migration } from "./database"; /** Table name constants for the database schema. */ export declare const TABLES: { readonly SESSIONS: "sessions"; readonly OBSERVATIONS: "observations"; readonly SESSION_SUMMARIES: "session_summaries"; readonly PENDING_MESSAGES: "pending_messages"; readonly CONFIG_AUDIT_EVENTS: "config_audit_events"; readonly MAINTENANCE_HISTORY: "maintenance_history"; readonly OBSERVATIONS_FTS: "observations_fts"; readonly SUMMARIES_FTS: "summaries_fts"; readonly OBSERVATION_EMBEDDINGS: "observation_embeddings"; readonly EMBEDDING_META: "_embedding_meta"; readonly ENTITIES: "entities"; readonly ENTITY_RELATIONS: "entity_relations"; readonly ENTITY_OBSERVATIONS: "entity_observations"; readonly ENTITIES_FTS: "entities_fts"; }; /** Single migration that creates the complete database schema. */ export declare const MIGRATIONS: Migration[]; /** Run all migrations to bring the database schema up to date */ export declare function initializeSchema(db: Database, options?: { hasVectorExtension?: boolean; embeddingDimension?: number; }): void; /** Create the vec0 virtual table for native vector similarity search. */ export declare function initializeVec0Table(db: Database, dimension: number): void; //# sourceMappingURL=schema.d.ts.map