import type { ErrorOr } from './types.js'; /** * Execute a command in a new shell process (sync) and return the result * object. Log both the command and the result into the `stepzen:docker` log. * * @param {*} command command * @returns {*} result from shelljs */ export declare const exec: (command: string) => import("shelljs").ShellString; /** * Get a Docker image digest by image name or image ID. * * @param {*} nameOrId name or ID of a Docker image * @returns {*} digest or error */ export declare const getLocalDockerImageDigest: (nameOrId: string) => ErrorOr; export declare const getIcrManifestUrl: (nameAndTag: string) => ErrorOr; /** * Fetch the most up-to-date image digest from a GCR by image name and tag * * @param {*} nameAndTag name or ID of a Docker image * @returns {*} digest or error */ export declare const getIcrDockerImageDigest: (nameAndTag: string) => Promise>; /** * Get the Docker image digests for the local and the latest remote * StepZen docker images. * * @returns {*} local and latest Docker image digests, or an error */ export declare const getDockerImageVersions: () => Promise>; //# sourceMappingURL=docker.d.ts.map