import type Database from 'better-sqlite3'; /** * Ensure the modules and module_members tables exist with the current schema. */ export declare function ensureModulesTables(db: Database.Database): void; /** * Ensure the interactions table exists. */ export declare function ensureInteractionsTables(db: Database.Database): void; /** * Ensure the flows and flow_steps tables exist. */ export declare function ensureFlowsTables(db: Database.Database): void; /** * Ensure the features and feature_flows tables exist. */ export declare function ensureFeaturesTables(db: Database.Database): void; /** * Ensure the domains table exists. */ export declare function ensureDomainsTable(db: Database.Database): void; /** * Ensure the declaration_end_line/column columns exist on definitions. * For existing databases, defaults them to end_line/end_column. */ export declare function ensureDeclarationEndColumns(db: Database.Database): void; /** * Ensure the contracts and contract_participants tables exist. */ export declare function ensureContractsTables(db: Database.Database): void; /** * Ensure the interaction_definition_links table exists. */ export declare function ensureInteractionDefinitionLinks(db: Database.Database): void; /** * Ensure the sync_dirty table exists for incremental sync tracking. */ export declare function ensureSyncDirtyTable(db: Database.Database): void; /** * Ensure the relationship_type column exists on relationship_annotations. */ export declare function ensureRelationshipTypeColumn(db: Database.Database): void; //# sourceMappingURL=schema-manager.d.ts.map