import type { EcoPagesAppConfig } from '../types/internal-types.js'; import type { PageParams } from '../types/public-types.js'; import type { PageRendererResolver } from '../route-renderer/route-renderer.js'; export type ProductionPageBrowserGraphRouteInstance = { routeFile: string; params?: PageParams; }; /** * Returns whether production static export should warm Page Browser Graphs before rendering. * * @remarks * True only when `NODE_ENV === 'production'`. Independent of `force` and of * unified pages-graph env flags. Does not persist a disk manifest. */ export declare function shouldPrebuildProductionPageBrowserGraphs(): boolean; /** * Clears in-memory production Page Browser Graph session records. * * @remarks * Clears only the `'production'` policy so a failed or force export cannot * reuse staged graph output. Development session records are left intact. */ export declare function clearProductionPageBrowserGraphSession(appConfig: EcoPagesAppConfig): void; /** * Warms production Page Browser Graphs for the supplied static route instances. * * @remarks * Deduplicates route file + params pairs, then calls each integration renderer's * `prebuildProductionPageBrowserGraph` sequentially (activates integration runtime, * then resolves into `page-browser-graph-session`). Does not persist a disk manifest. */ export declare function prebuildProductionPageBrowserGraphs(routeInstances: readonly ProductionPageBrowserGraphRouteInstance[], routeRendererFactory: PageRendererResolver): Promise;