import { SuccessfulMigration } from "../successful-migration"; import { MigrateArgs } from "../migrate-args"; import { MigrationError } from "../migration-error"; export interface MigrateUpArgs extends MigrateArgs { /** * The `identifier` of the up `Migration` to run. * * If `undefined`, the first pending up migration is run. */ identifier: string | undefined; } export declare type MigrateUpResult = { /** * If `undefined`, no identifier was specified and no pending up migration was found. */ readonly identifier: string | undefined; /** * The new successful migration. * If `undefined`, no up migration was successfully run. */ readonly newSuccessfulMigration: SuccessfulMigration | undefined; readonly errors: readonly MigrationError[]; } | { readonly identifier: string; /** * The new successful migration. */ readonly newSuccessfulMigration: SuccessfulMigration; readonly errors: readonly MigrationError[]; }; export declare function migrateUp({ migrations, stateStorage, identifier }: MigrateUpArgs): Promise; //# sourceMappingURL=migrate-up.d.ts.map