import type { ForeignKeyDef, HypertableConfig, ModelSchema, ViewSchema } from '../types/orm-types.js'; interface ViewSnapshotEntry { viewName: string; source: string; groupBy?: string; columns: Record; foreignKeys: Record; isView: boolean; viewQuery: string; } interface ModelSnapshotEntry { table: string; idType: string; columns: Record; foreignKeys: Record; vectorColumns?: Record; hypertable?: HypertableConfig; } export declare function introspectModels(): Record; export declare function buildTableDDL(name: string, schema: ModelSchema, allSchemas?: Record): string; /** * Build HNSW index DDL for vector columns on a model. */ export declare function buildVectorIndexDDL(name: string, schema: ModelSchema): string[]; export { getTopologicalOrder } from '../schema-helpers.js'; export declare function introspectViews(): Record; export declare function buildViewDDL(name: string, viewSchema: ViewSchema, modelSchemas?: Record): string; export declare function viewSchemasToSnapshot(viewSchemas: Record): Record; export declare function schemasToSnapshot(schemas: Record): Record;