import type * as ecr from "aws-cdk-lib/aws-ecr"; import * as ecs from "aws-cdk-lib/aws-ecs"; import type * as secretsmanager from "aws-cdk-lib/aws-secretsmanager"; import { Construct } from "constructs"; import type { ServiceImage } from "./docker-image.js"; export type EcrImageProps = { /** Existing ECR repository containing the image. */ repository: ecr.IRepository; /** Full image digest, such as `sha256:...`; mutable tags are not accepted. */ digest: string; env?: Env; }; type Env = { variables?: Record; secrets?: Record; }; /** An immutable image already built and pushed to ECR. */ export declare class EcrImage extends Construct implements ServiceImage { private readonly repository; private readonly digest; private readonly env; constructor(scope: Construct, id: string, props: EcrImageProps); get assetHash(): string; get containerImage(): ecs.ContainerImage; get environment(): Record; get secrets(): Record; } export {};