import { DBInstance } from './helpers'; export declare const DefaultMigrationTable = "migration"; export type MigrationItem = { name: string; is_multiple_statements?: boolean | 1 | 0; up: string; down: string; }; /** * This function has different from the better-sqlite3-helper behavior. * * This function works well when the database already has migrations from files. * (Mixing file mode and string array mode.) */ export declare function migrateUp(options: { db: DBInstance; table?: string; migrations: MigrationItem[]; }): void; export declare function migrateDown(options: { db: DBInstance; table?: string; name: string; throw?: boolean; }): void; /** * rollback all the migrations until 'name' (inclusive) */ export declare function migrateDownUntil(options: { db: DBInstance; table?: string; name: string; throw?: boolean; }): void;