wilddragon-site/node_modules/next/dist/server/dev/serialized-errors.d.ts

6 lines
609 B
TypeScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
import { type HmrMessageSentToBrowser } from './hot-reloader-types';
export declare function sendSerializedErrorsToClient(errorsRscStream: ReadableStream<Uint8Array>, sendToClient: (message: HmrMessageSentToBrowser) => void): void;
export declare function sendSerializedErrorsToClientForHtmlRequest(htmlRequestId: string, sendToClient: (message: HmrMessageSentToBrowser) => void): void;
export declare function setErrorsRscStreamForHtmlRequest(htmlRequestId: string, errorsRscStream: ReadableStream<Uint8Array>): void;
export declare function deleteErrorsRscStreamForHtmlRequest(htmlRequestId: string): void;