///
import Docker from 'dockerode';
import { ErrorService } from './Error';
import { Op } from '../types';
export declare class ImageService {
protected error: ErrorService;
constructor(error?: ErrorService);
log: {
(message?: any, ...optionalParams: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
checkLocalImage: (opImageUrl: string) => Promise;
imageFilterPredicate: (repo: string) => ({ RepoTags }: Docker.ImageInfo) => string | undefined;
pull: (op: Op, authconfig: Docker.AuthConfig) => Promise;
setParser: (op: Op, getFn: (status: string, op: Op) => {
speed: string;
}) => {
parser: import("stream").Transform;
bar: import("cli-progress").Bar;
};
getProgressBarText: (status: string, { name }: Op) => {
speed: string;
};
updateStatusBar: (stream: NodeJS.ReadWriteStream, { parser, bar }: {
parser: any;
bar: any;
}) => (resolve: (data: any) => void, reject: (err: Error) => void) => Promise;
checkIfDockerfileExists: (opPath: string) => boolean;
build: (tag: string, opPath: string, op: Op) => Promise;
}