import type { PrismaConfigInternal } from '@prisma/config';
import type { Command, Commands } from '@prisma/internals';
import { HelpError } from '@prisma/internals';
export declare class DbCommand implements Command {
    private readonly cmds;
    static new(cmds: Commands): DbCommand;
    private static help;
    private constructor();
    parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
    help(error?: string): string | HelpError;
}
