import type MigrationsModel from './migrations.js'; import { type MigrationExecutionResult } from './utils.js'; import type { Tx } from '../database-layer/db.js'; import type { Config, Model } from '../config-loader/config-loader.js'; import * as sbvrUtils from '../sbvr-api/sbvr-utils.js'; type ApiRootModel = Model & { apiRoot: string; }; export declare const postRun: (tx: Tx, model: ApiRootModel) => Promise; export declare const run: (tx: Tx, model: ApiRootModel) => Promise; declare module '../sbvr-api/sbvr-utils.js' { interface API { [migrationModelConfig.apiRoot]: PinejsClient; } } declare const migrationModelConfig: { readonly modelName: "migrations"; readonly apiRoot: "migrations"; readonly modelText: string; readonly migrations: { readonly '11.0.0-modified-at': "\n\t\t\tALTER TABLE \"migration\"\n\t\t\tADD COLUMN IF NOT EXISTS \"modified at\" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL;\n\t\t"; readonly '11.0.1-modified-at': "\n\t\t\tALTER TABLE \"migration lock\"\n\t\t\tADD COLUMN IF NOT EXISTS \"modified at\" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL;\n\t\t"; readonly '15.0.0-data-types': (tx: Tx, { db }: typeof sbvrUtils) => Promise; readonly '22.0.0-timestamps': (tx: Tx, { db }: typeof sbvrUtils) => Promise; }; }; export declare const config: Config; export {};