import type * as ecr from "@distilled.cloud/aws/ecr"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Repository } from "./Repository.ts"; /** * Request for {@link BatchGetImage} — `repositoryName` is injected from the * bound {@link Repository} (the registry defaults to the caller's account). */ export interface BatchGetImageRequest extends Omit { } /** * Runtime binding for `ecr:BatchGetImage`. * * Fetches image manifests from the bound repository — the read half of a registry pull, and the first step of re-tagging an image (`BatchGetImage` → `PutImage` with a new tag). Provide the implementation with * `Effect.provide(AWS.ECR.BatchGetImageHttp)`. * ### Pulling Images * **Example:** Fetch an Image Manifest * ```typescript * const batchGetImage = yield* AWS.ECR.BatchGetImage(repository); * * const res = yield* batchGetImage({ imageIds: [{ imageTag: "latest" }] }); * const manifest = res.images?.[0]?.imageManifest; * ``` * * @binding */ export interface BatchGetImage extends Binding.Service Effect.Effect<(request: BatchGetImageRequest) => Effect.Effect>> { } export declare const BatchGetImage: BatchGetImage; //# sourceMappingURL=BatchGetImage.d.ts.map