Initial commit of eigent-main

This commit is contained in:
puzhen 2025-08-12 01:16:39 +02:00
commit 723df5a03e
1144 changed files with 103478 additions and 0 deletions

View file

@ -0,0 +1,15 @@
import { IncomingMessage, ServerResponse } from 'http';
declare class ServerResponseWithBodyChunks extends ServerResponse {
bodyChunks: Uint8Array[];
_send(data: string, encoding: BufferEncoding, callback?: (() => void) | null, byteLength?: number): void;
}
declare function createNodeHttpServerDuplex(options: {
method: string;
originalUrl?: URL;
url: URL;
headers: Headers;
body: Uint8Array;
}): Promise<[IncomingMessage, ServerResponseWithBodyChunks]>;
export { createNodeHttpServerDuplex };