import type { Database } from './base/database.js'; export type StructuredDatabase = Database>, string>; import type { Column } from './types.js'; /** Explicit additive migrations for a declared table; never removes old columns/data. */ export declare function ensureDatabaseColumns(database: StructuredDatabase, table: string, columns: Record): Promise; /** Index migration with exact identifier quoting; MySQL TEXT needs a bounded prefix. */ export declare function ensureDatabaseIndex(database: StructuredDatabase, table: string, name: string, columns: readonly { name: string; text?: boolean; }[]): Promise;