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,12 @@
import type { IncomingMessage, ServerResponse } from 'http';
import type RenderResult from './render-result';
import type { CacheControl } from './lib/cache-control';
export declare function sendEtagResponse(req: IncomingMessage, res: ServerResponse, etag: string | undefined): boolean;
export declare function sendRenderResult({ req, res, result, generateEtags, poweredByHeader, cacheControl, }: {
req: IncomingMessage;
res: ServerResponse;
result: RenderResult;
generateEtags: boolean;
poweredByHeader: boolean;
cacheControl: CacheControl | undefined;
}): Promise<void>;