bpms_site/.svn/pristine/10/10828a8321f245a86ea8527c7f263007f66fa4e8.svn-base
2025-11-02 16:38:49 +03:30

9 lines
587 B
Plaintext

/// <reference types="react" />
import type { ClientReferenceManifest } from '../../build/webpack/plugins/flight-manifest-plugin';
import type { FlightResponseRef } from './flight-response-ref';
/**
* Render Flight stream.
* This is only used for renderToHTML, the Flight response does not need additional wrappers.
*/
export declare function useFlightResponse(writable: WritableStream<Uint8Array>, req: ReadableStream<Uint8Array>, clientReferenceManifest: ClientReferenceManifest, rscChunks: Uint8Array[], flightResponseRef: FlightResponseRef, nonce?: string): Promise<JSX.Element>;