export { getPageContextJson }; export { getPageContextJsonFile }; import { type PageContextSerialization } from './html/serializeContext.js'; import type { PageContext_logRuntime } from '../loggerRuntime.js'; import '../../assertEnvServer.js'; type PageContextForJson = PageContextSerialization & NonNullable; declare function getPageContextJson(pageContext: PageContextForJson): string | ReadableStream; declare function getPageContextJsonFile(pageContext: PageContextSerialization, lines: null | string[]): string;