- Introduced blog routing using Next.js App Router - Implemented dynamic [slug] pages for blog posts - Added MDX-based content loading via lib/posts - Integrated shared TopBar layout with navigation - Established clear content, lib and component separation
11 lines
474 B
TypeScript
11 lines
474 B
TypeScript
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;
|