first commit

This commit is contained in:
Frank John Begornia
2025-12-23 01:51:15 +08:00
commit c926590e1d
4137 changed files with 613038 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { EventEmitter } from '../utils/EventEmitter';
/**
* Implements simple transport that allows sending string messages via
* `sendCommand` and receiving them via `on('message')`.
*/
export declare class SimpleTransport extends EventEmitter<Record<'message', string>> {
#private;
/**
* @param sendCommandDelegate delegate to be called in `sendCommand`.
*/
constructor(sendCommandDelegate: (plainCommand: string) => Promise<void>);
sendCommand(plainCommand: string): Promise<void>;
}