import type * as React from "react"; import type { ElementValidator } from "../element-validator/index.js"; import type { SSRRenderer } from "../ssr-renderer.js"; import type { HTMLGenerationContext, HTMLGenerator } from "./html.js"; import type { LayoutOrchestrator } from "./layout.js"; import type { RenderOptions } from "./types.js"; export interface SSROrchestratorConfig { mode: "development" | "production"; debugMode: boolean; elementValidator: ElementValidator; ssrRenderer: SSRRenderer; htmlGenerator: HTMLGenerator; layoutOrchestrator?: Pick; } export interface SSRRenderingResult { fullHtml: string; finalStream: ReadableStream | null; ssrHash: string; } export declare class SSROrchestrator { private config; constructor(config: SSROrchestratorConfig); resolveErrorComponentPath(generationContext: Omit): Promise; performSSRRendering(pageElement: React.ReactElement, generationContext: Omit, options?: RenderOptions): Promise; /** * Render the segment's app-router error.tsx as the page body for a caught SSR * render throw. Returns the rendered result + the boundary's source path (for * the client hydration bundle), or null when the segment has no error.tsx. */ private renderErrorBoundaryFallback; private createStream; } //# sourceMappingURL=ssr-orchestrator.d.ts.map