import { CreateTable } from './parser'; import { SqliteDatabase } from './SqliteDatabase'; import { DatabaseSchema } from './DatabaseSchema'; interface Migration { statements: MigrationStatement[]; warnings: string[]; } interface MigrationStatement { sql: string; isDestructive: boolean; } export interface MigrationOptions { includeDestructive?: boolean; } export declare function getOneTableMigration(fromTableLoose: CreateTable | string, toTableLoose: CreateTable | string): Migration; export declare function runDatabaseSloppynessCheck(db: SqliteDatabase, schema: DatabaseSchema): Promise; export declare function runMigrationForCreateStatement(db: SqliteDatabase, createStatement: string, options: MigrationOptions): void; export {};