main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
/// <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>;