export type CacheSourceIdentity = { type: "branch"; branch: string; } | { type: "release"; releaseId: string; } | { type: "environment"; environmentName: string; releaseId: string; }; export interface EncodedCacheSourceIdentity { type: CacheSourceIdentity["type"]; /** Encoded variable segments only, safe to append to a colon-delimited key. */ qualifier: string; /** Canonical source type plus encoded qualifier. */ key: string; } /** Encode an exact content source without permitting delimiter collisions. */ export declare function encodeCacheSourceIdentity(identity: CacheSourceIdentity): EncodedCacheSourceIdentity; //# sourceMappingURL=source-identity.d.ts.map