import type { BuildResult } from '../build-adapter.js'; import type { EcoPagesAppConfig } from '../../types/internal-types.js'; export { SERVER_ENTRY_BUILD_CACHE_FILENAME } from './cache-constants.js'; export declare const SERVER_BUNDLE_MANIFEST_FILENAME = "manifest.json"; export interface ServerBundleDeployManifest { serverEntry: string; distDir: string; builtAt: number; } export interface ServerEntryBuildCacheManifest { invalidationVersion: string; entryPath: string; entryHash: string; buildInputsFingerprint: string; buildKey: string; outputPaths: string[]; dependencyHashes: Record; builtAt: number; } export interface ServerEntryBuildCacheLookup { manifest: ServerEntryBuildCacheManifest; outputPaths: string[]; } export declare function getServerBundleOutputPaths(appConfig: EcoPagesAppConfig): { distDir: string; serverOutdir: string; serverEntryPath: string; manifestPath: string; }; export declare function readServerEntryBuildCacheManifest(appConfig: EcoPagesAppConfig): ServerEntryBuildCacheManifest | undefined; export declare function writeServerBundleDeployManifest(appConfig: EcoPagesAppConfig, serverEntryPath: string): void; export declare function lookupServerEntryBuildCache(options: { appConfig: EcoPagesAppConfig; entryPath: string; force?: boolean; }): ServerEntryBuildCacheLookup | undefined; export declare function recordServerEntryBuildCache(options: { appConfig: EcoPagesAppConfig; entryPath: string; buildResult: BuildResult; outputPaths: string[]; }): void; export declare function resolveProductionServerEntry(cwd?: string): string | undefined;