import type { EcoPagesAppConfig } from '../../types/internal-types.js'; /** * Shared manifest fields for persisted production build caches. */ export interface ProductionCacheManifestBase { invalidationVersion?: string; corePackageVersion?: string; buildInputsFingerprint?: string; buildKey?: string; builtAt?: number; } export type ProductionBuildCacheKind = 'server-entry' | 'route-module' | 'pages-graph'; /** Returns every persisted production cache manifest path for one app. */ export declare function getProductionBuildCacheManifestPaths(appConfig: EcoPagesAppConfig): string[]; /** Removes all persisted production cache manifests for one app. */ export declare function clearPersistedProductionBuildCacheManifests(appConfig: EcoPagesAppConfig): void; export declare function readProductionCacheManifest(manifestPath: string): T | undefined; export declare function writeProductionCacheManifest(manifestPath: string, manifest: unknown): void; export declare function isProductionCacheManifestCurrent(manifest: ProductionCacheManifestBase | undefined, packageVersion: string): boolean; export declare function matchesProductionCacheFingerprint(manifest: ProductionCacheManifestBase | undefined, buildInputsFingerprint: string): boolean; export declare function matchesProductionCacheBuildKey(manifest: ProductionCacheManifestBase | undefined, buildKey: string): boolean;