import { Logger } from './shell'; interface BuildOptions { readonly directory: string; /** * Tag the image with a given repoName:tag combination */ readonly tag: string; readonly target?: string; readonly file?: string; readonly buildArgs?: Record; } export declare class Docker { private readonly logger?; constructor(logger?: Logger | undefined); /** * Whether an image with the given tag exists */ exists(tag: string): Promise; build(options: BuildOptions): Promise; /** * Get credentials from ECR and run docker login */ login(ecr: AWS.ECR): Promise; tag(sourceTag: string, targetTag: string): Promise; push(tag: string): Promise; private execute; } export {};