import type { EcoPagesAppConfig } from '../../types/internal-types.js'; import { RouteModuleBuildCache } from './route-module-build-cache.store.js'; /** * Returns the outdir whose transpile cache backs incremental static generation. * * @remarks * Static pages render through `.eco/.server-modules`. The manifest there carries * import-graph hashes from transpile, so static-render reuse must read the same * directory rather than `.server-route-modules`, which only serves route-registry * scanning. */ export declare function getServerModuleBuildCacheOutdir(appConfig: EcoPagesAppConfig): string; /** * @deprecated Use {@link getServerModuleBuildCacheOutdir}. */ export declare const getRouteModuleBuildCacheOutdir: typeof getServerModuleBuildCacheOutdir; /** * Returns the shared production build cache for one server-module outdir. * * @remarks * One app-scoped instance prevents manifest drift between page imports and static * generation during the same build process. */ export declare function getSharedRouteModuleBuildCache(outdir: string, appConfig?: EcoPagesAppConfig): RouteModuleBuildCache; /** Clears route-module cache entries that can retain stale external server modules during development. */ export declare function clearAppDevelopmentRouteModuleBuildCaches(appConfig: EcoPagesAppConfig): void;