Restore UI functionalities and clean up dependencies

This commit is contained in:
streaper2
2026-05-08 08:32:58 +02:00
parent 8946955f76
commit 0895b7d5bc
26751 changed files with 4207476 additions and 158 deletions

View File

@@ -0,0 +1,10 @@
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, sizeLimit?: number): CloneableBody;