import Dockerode from 'dockerode';
import Image from '../docker/image.js';
export type ImageBuildParams = {
    artifacts?: {
        [key: string]: string;
    };
    baseImage: Image;
    buildCommand?: string[];
    buildWorkDirOverride?: string;
    srcPaths?: string[];
    srcRoot: string;
};
export default class ImageBuilder {
    private readonly docker;
    private readonly name;
    constructor(docker: Dockerode, name: string);
    build(params: ImageBuildParams): Promise<Image>;
    getDockerfileContent(artifacts: undefined | {
        [key: string]: string;
    }, baseImage: Image, buildCommand: string[] | undefined, buildWorkDirOverride: string | undefined): string;
}
