import { Logger } from '@nestjs/common'; import { ModuleRef } from '@nestjs/core'; import { PrismaClient } from '@prisma/client'; import { CommandRunner } from 'nest-commander'; interface Migration { file: string; name: string; up: (db: PrismaClient, injector: ModuleRef) => Promise; down: (db: PrismaClient, injector: ModuleRef) => Promise; } export declare function collectMigrations(): Promise; export declare class RunCommand extends CommandRunner { private readonly db; private readonly injector; logger: Logger; constructor(db: PrismaClient, injector: ModuleRef); run(): Promise; runOne(name: string): Promise; private runMigration; } export declare class RevertCommand extends CommandRunner { private readonly db; private readonly injector; logger: Logger; constructor(db: PrismaClient, injector: ModuleRef); run(inputs: string[]): Promise; } export {}; //# sourceMappingURL=run.d.ts.map