import type { App } from "./app.js";
import { MigrationsList } from "./migrations_list.js";
export declare const DefaultMigrationsTable = "_migrations";
export declare const AppMigrations: MigrationsList;
export declare const SystemMigrations: MigrationsList;
export declare class MigrationsRunner {
    #private;
    constructor(app: App, migrationsList: MigrationsList);
    run(...args: string[]): Error | null;
    Run(...args: string[]): Error | null;
    up(): string[];
    Up(): string[];
    down(toRevertCount: number): string[];
    Down(toRevertCount: number): string[];
    removeMissingAppliedMigrations(): void;
    RemoveMissingAppliedMigrations(): void;
    private initMigrationsTable;
    private isMigrationApplied;
    private saveAppliedMigration;
    private saveRevertedMigration;
    private lastAppliedMigrations;
}
export declare function NewMigrationsRunner(app: App, migrationsList: MigrationsList): MigrationsRunner;
