import { TSCommands, PackageInfo } from './interfaces'; export declare type ExecEnv = { [name: string]: string; }; declare type ExecOpts = { cmd: string; args?: string[]; cwd?: string; env?: ExecEnv; stdio?: 'inherit'; timeout?: number; detached?: boolean; }; export declare function exec(opts: ExecOpts, log?: boolean): Promise; export declare function fork(opts: ExecOpts): Promise; export declare function runTSScript(cmd: TSCommands, args: string[]): Promise; export declare function build(pkgInfo?: PackageInfo): Promise; export declare function setup(): Promise; export declare function yarnRun(script: string, args?: string[], cwd?: string, env?: Record, log?: boolean): Promise; export declare function runJest(cwd: string, argsMap: ArgsMap, env?: ExecEnv, extraArgs?: string[], debug?: boolean): Promise; export declare function dockerPull(image: string, timeout?: number): Promise; export declare function dockerStop(name: string): Promise; export declare function dockerTag(from: string, to: string): Promise; export declare function getContainerInfo(name: string): Promise; export declare function dockerNetworkExists(name: string): Promise; export declare function remoteDockerImageExists(image: string): Promise; export declare type DockerRunOptions = { name: string; image: string; ports?: (number | string)[]; tmpfs?: string[]; env?: ExecEnv; network?: string; }; export declare function dockerRun(opt: DockerRunOptions, tag?: string, debug?: boolean): Promise<() => void>; export declare function dockerContainerReady(name: string, upFor: number): Promise; export declare function dockerBuild(tag: string, cacheFrom?: string[], target?: string, buildArg?: string): Promise; export declare function dockerPush(image: string): Promise; export declare function pgrep(name: string): Promise; export declare function getCommitHash(): Promise; export declare function gitDiff(files?: string[]): Promise; export declare function getChangedFiles(...files: string[]): Promise; export declare type ArgsMap = { [key: string]: string | string[]; }; export declare function mapToArgs(input: ArgsMap): string[]; export declare function yarnPublish(pkgInfo: PackageInfo, tag?: string, registry?: string): Promise; export {}; //# sourceMappingURL=scripts.d.ts.map