import { type Result } from "@fjall/generator"; import type { AwsProvider } from "../../aws/AwsProvider.js"; /** * Idempotently provision the buildx registry-cache repository beside the app's * image repository: create-if-absent, then (re)apply the shared untagged-image * lifecycle policy. Mirrors the `fjall build` provisioner * (`@fjall/cli` EcrBuildOrchestrator → EcrRepositoryService) — both address the * same physical repo via `buildCacheRepositoryName` and the shared policy text, * so neither path can drift the other. * * Failure messages are pre-masked at construction — callers may surface * `error.message` to log/callback sinks without re-masking. */ export declare function ensureBuildCacheRepository(awsProvider: AwsProvider, cacheRepositoryName: string, abortSignal?: AbortSignal): Promise>;