import type { PrismaConfigInternal } from '@prisma/config';
import type { Command, Commands } from '@prisma/internals';
import { HelpError } from '@prisma/internals';
/**
 * Convenient Migrate CLI command, not public facing
 * see public one in packages/cli/ directory
 */
export declare class CLI implements Command {
    private readonly cmds;
    static new(cmds: Commands): CLI;
    private constructor();
    parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
    help(error?: string): string | HelpError;
    private static help;
}
