/** * RSC Manifest Handler * * Handles client component manifest generation and caching. * Supports optional CacheRepository injection for testing. * * @module server/services/rsc/orchestrators/manifest-handler */ import type { ClientComponentMeta } from "../../../../rendering/rsc/types.js"; import type { CacheRepository } from "../../../../repositories/types.js"; import type { FileSystemAdapter } from "../../../../platform/adapters/base.js"; /** Cache key for manifest data */ export declare class ManifestHandler { private projectDir; private cache; private generation; private inFlightBuild; private cacheMutation; private readonly cacheRepo?; private readonly appDir; private readonly isLocalProject; private readonly cacheKey; private readonly knownCacheKeys; private readonly fs?; constructor(projectDir: string, options?: { cacheRepo?: CacheRepository; appDir?: string; isLocalProject?: boolean; fs?: FileSystemAdapter; contentSourceId?: string; }); handle(clientManifest: Map | null, dependencyPinningCacheKey?: string): Promise; private getOrStartBuild; private buildAndPublish; private getCachedData; private setCachedData; private isCacheValid; private buildManifest; private createResponse; /** * Clear the manifest cache. * Useful for testing or forcing rebuild. */ clearCache(): void; private scopedCacheKey; private enqueueCacheMutation; } //# sourceMappingURL=manifest-handler.d.ts.map