import { HtmlEscapedString } from "../utils/html.js"; import { PropsWithChildren } from "./index.js"; import { Context } from "./index.js"; import { FC } from "./index.js"; import { JSXNode } from "./base.js"; //#region src/jsx/streaming.d.ts /** * Used to specify nonce for scripts generated by `Suspense` and `ErrorBoundary`. * * @example * ```tsx * * Loading...

}> * *
*
* ``` */ export declare const StreamingContext: Context<{ scriptNonce: string; } | null>; /** * @experimental * `Suspense` is an experimental feature. * The API might be changed. */ export declare const Suspense: FC>; /** * @experimental * `renderToReadableStream()` is an experimental feature. * The API might be changed. */ export declare const renderToReadableStream: (content: HtmlEscapedString | JSXNode | Promise, onError?: (e: unknown) => string | void) => ReadableStream; //#endregion