First concept

This commit is contained in:
will
2026-04-02 19:13:46 +01:00
commit 1da5da43e1
9785 changed files with 2077949 additions and 0 deletions

12
node_modules/next/dist/server/body-streams.d.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/// <reference types="node" />
/// <reference types="node" />
import type { IncomingMessage } from 'http';
import type { Readable } from 'stream';
export declare function requestToBodyStream(context: {
ReadableStream: typeof ReadableStream;
}, KUint8Array: typeof Uint8Array, stream: Readable): ReadableStream<any>;
export interface CloneableBody {
finalize(): Promise<void>;
cloneBodyStream(): Readable;
}
export declare function getCloneableBody<T extends IncomingMessage>(readable: T): CloneableBody;