import type { RuntimeAdapter } from "../platform/adapters/base.js"; import type * as React from "react"; import type { VeryfrontConfig } from "../config/index.js"; import type { ServerRenderContextValue } from "../react/server-render-context.js"; export interface SSRRenderOptions { mode: string; wantsStream: boolean; /** Response-scoped CSP nonce for React-owned bootstrap scripts. */ nonce?: string; /** Request capabilities that must survive async React retries. */ renderContext?: ServerRenderContextValue; debugMode?: boolean; dependencyPinningCacheKey?: string; dependencyPinningDependencies?: Readonly>; /** Maximum UTF-8 bytes retained when the result must be buffered. */ maxBufferedBytes?: number; } export interface SSRRenderResult { html: string; stream: ReadableStream | null; } export declare class SSRRenderer { private readonly mode; private readonly projectDir?; private readonly config?; private reactVersionPromise; private resolvedReactVersion; constructor(mode: string, _adapter?: RuntimeAdapter, projectDir?: string, _projectId?: string, config?: VeryfrontConfig); private getReactVersion; renderToHTML(pageElement: React.ReactElement, options: SSRRenderOptions): Promise; getRenderingStrategy(): { method: "streaming" | "string"; reactVersion: string; features: { streaming: boolean; suspense: boolean; concurrent: boolean; }; }; supportsStreaming(): boolean; } //# sourceMappingURL=ssr-renderer.d.ts.map