/** * Maps source dependency paths to rendered HTML cache keys for selective invalidation. */ export declare class HtmlPageCacheDependencyIndex { private readonly sourcePathToCacheKeys; private readonly cacheKeyToSourcePaths; /** * Records which source paths contributed to one cached HTML entry. */ register(cacheKey: string, sourcePaths: readonly string[]): void; /** * Removes dependency metadata for one cache key. */ unregister(cacheKey: string): void; /** * Returns cache keys that depend on any of the given source paths. */ resolveCacheKeysForSourcePaths(sourcePaths: readonly string[]): string[]; clear(): void; } type CollectHtmlCacheSourceDependencyPathsInput = { routeFile: string; processedAssets: readonly { sourceFilepath?: string; bundledSourceFilepaths?: readonly string[]; }[]; graphDependencyPaths?: ReadonlySet; additionalSourcePaths?: readonly string[]; }; /** * Merges route, graph, processed-asset, and caller-supplied source paths for HTML cache invalidation. */ export declare function collectHtmlCacheSourceDependencyPaths(input: CollectHtmlCacheSourceDependencyPathsInput): string[]; export {};