import type { AssetTagEntry } from './prompt-rules.js'; export interface EnvironmentAssetEntry { name: string; description: string; plateUrl: string; plateRef: string; } export interface EnvironmentAssetsArtifact { schemaVersion: 1; projectSlug: string; generatedAt: string; environments: EnvironmentAssetEntry[]; } export interface EnvironmentAssetsLookup { environments: EnvironmentAssetEntry[]; /** name (lowercased) -> AssetTagEntry, ready for buildAssetTagLookup's environmentsByName. */ environmentEntryByName: Map; } export declare function environmentAssetsPathFor(root: string, slug: string): string; export declare function writeEnvironmentAssets(root: string, slug: string, artifact: EnvironmentAssetsArtifact): Promise; /** * Read `artifacts/environment-assets.json`. Returns an empty lookup when absent * (graceful — `@location` tags then fall through to strip-and-warn). The * `environmentEntryByName` map is the AssetTagEntry shape `buildAssetTagLookup` * consumes via `environmentsByName`. */ export declare function readEnvironmentAssets(root: string, slug: string): Promise; //# sourceMappingURL=environment-assets.d.ts.map