This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
/**
* Web debug channel implementation.
* Loaded by debug-channel-server.ts.
*/
export type DebugChannelPair = {
serverSide: DebugChannelServer;
clientSide: DebugChannelClient;
};
export type DebugChannelServer = {
readable?: ReadableStream<Uint8Array>;
writable: WritableStream<Uint8Array>;
};
type DebugChannelClient = {
readable: ReadableStream<Uint8Array>;
writable?: WritableStream<Uint8Array>;
};
export declare function createDebugChannel(): DebugChannelPair | undefined;
export declare function createWebDebugChannel(): DebugChannelPair;
/**
* toNodeDebugChannel is a no-op stub on the web path.
* It should never be called in edge/web builds.
*/
export declare function toNodeDebugChannel(_webDebugChannel: DebugChannelServer): never;
export {};