import { CliLogLevel, DbType } from './types';
/**
 * If project only contains files generated by GH, it’s safe.
 * Also, if project contains remnant error logs from a previous
 * installation, lets remove them now.
 * We also special case IJ-based products .idea because it integrates with CRA:
 * https://github.com/facebook/create-react-app/pull/368#issuecomment-243446094
 */
export declare function isSafeToCreateProjectIn(root: string, name: string): boolean;
export declare function scaffoldAlreadyExists(root: string, name: string): boolean;
export declare function checkNodeVersion(requiredVersion: string): void;
export declare function yarnIsAvailable(): boolean;
export declare function bunIsAvailable(): boolean;
export declare function checkThatNpmCanReadCwd(): boolean;
/**
 * Install packages via npm or yarn.
 * Based on the install function from https://github.com/facebook/create-react-app
 */
export declare function installPackages(root: string, useYarn: boolean, dependencies: string[], isDev: boolean, logLevel: CliLogLevel, isCi?: boolean): Promise<void>;
export declare function getDependencies(dbType: DbType, vendurePkgVersion?: string): {
    dependencies: string[];
    devDependencies: string[];
};
/**
 * Checks that the specified DB connection options are working (i.e. a connection can be
 * established) and that the named database exists.
 */
export declare function checkDbConnection(options: any, root: string): Promise<true>;
export declare function isServerPortInUse(): Promise<boolean>;
