/** Provider-neutral cache helpers shared with distributed store extensions. */ import "../../../_dnt.polyfills.js"; export { MAX_CACHE_REVISION_LENGTH } from "../../cache/types.js"; export type { CacheBackend, CacheReadOptions, CacheRevisionMutation, CacheRevisionSnapshot, RevisionedCacheBackend, } from "../../cache/types.js"; export type { ResolvedCacheAuthority } from "../../cache/request-authority.js"; export { assertCacheReadMaximumBytes, assertCacheValueWithinLimit, CacheValueTooLargeError, } from "../../cache/bounded-read.js"; export { buildRevisionedCacheKey, isRevisionedCacheBackend, isRevisionedCacheKey, MAX_REVISIONED_CACHE_SOURCE_KEY_LENGTH, requireCacheExchangeResult, REVISIONED_CACHE_KEY_PREFIX, snapshotCacheRevisionResult, } from "../../cache/capabilities.js"; export { buildBatchResults } from "../../cache/batch-results.js"; export { assertCacheBatchSize } from "../../cache/batch-policy.js"; export { DEFAULT_CACHE_TTL_SECONDS, expiresImmediately, requirePositiveIntegerCacheTtlSeconds, resolveIntegerCacheTtlSeconds, } from "../../cache/backends/ttl.js"; export { escapeCacheGlobLiteral, registerOwnedDistributedCacheKeyPrefix, registerRenderDistributedCacheNamespace, stripOwnedDistributedCacheKeyPrefix, validateDistributedCacheKeyPrefix, } from "../../cache/backends/distributed-keyspace.js"; export { parseSerializedCachePayload, serializeCachePayload, } from "../../rendering/cache/cache-payload.js"; export type { CachePayload, CacheStore as RenderCacheStore, CacheStoreStats, } from "../../rendering/cache/types.js"; /** Bounded provider-neutral cache listing request. */ export interface DistributedCacheListOptions { readonly prefix: string; readonly limit: number; } /** Immutable bounded cache listing with explicit completeness. */ export interface DistributedCacheKeyListing { readonly keys: readonly string[]; readonly truncated: boolean; } /** Narrow administrative surface used by cache diagnostics and invalidation. */ export interface DistributedCacheAdministration { isConfigured(): boolean; listKeys(options: DistributedCacheListOptions): Promise; deleteKeys(keys: readonly string[]): Promise; } //# sourceMappingURL=cache-support.d.ts.map