///
import { PkgAndDir } from './pkg';
export declare class Commands {
private projectRoot;
private args;
readonly getPackages: (dir: string) => PkgAndDir[];
private p;
readonly dryRun: boolean;
constructor(projectRoot: string, args: any, getPackages?: (dir: string) => PkgAndDir[]);
bin(n: any): any;
staticToNow(dir: string, alias?: string): Promise;
runCmd(cmd: any, opts?: any): Promise;
commit(files: string[], msg: string): Promise<(Buffer | string)[]>;
runCmds(cmds: string[], opts?: any): Promise<(Buffer | string | undefined)[]>;
series(cmds: string[], fn: (cmd: string) => Promise): Promise;
isGitTreeClean(): Promise;
beforePublish(): Promise;
afterPublish(): Promise;
changelog(): Promise;
release(): Promise;
build(): Promise;
clean(): Promise<(string | Buffer)[]>;
lint(): Promise<(string | Buffer)[]>;
babel(): Promise<(string | Buffer)[]>;
test(): Promise<(string | Buffer)[]>;
execute(): any;
}