import type { Tx } from '../database-layer/db';
import type { Resolvable } from '../sbvr-api/common-types';
import type { Config, Model } from '../config-loader/config-loader';
import * as Bluebird from 'bluebird';
import { TypedError } from 'typed-error';
import * as sbvrUtils from '../sbvr-api/sbvr-utils';
declare type ApiRootModel = Model & {
    apiRoot: string;
};
declare type SbvrUtils = typeof sbvrUtils;
export declare type MigrationFn = (tx: Tx, sbvrUtils: SbvrUtils) => Resolvable<void>;
export declare type Migration = string | MigrationFn;
export declare class MigrationError extends TypedError {
}
export declare const postRun: (arg1: Tx, arg2: ApiRootModel) => Bluebird<void>;
export declare const run: (arg1: Tx, arg2: ApiRootModel) => Bluebird<void>;
export declare const config: Config;
export {};
