Initial commit - cleaned for CV

This commit is contained in:
Renato97
2026-03-31 01:28:25 -03:00
commit 2e7bb89d77
6413 changed files with 1069318 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { EventEmitter } from '../utils/EventEmitter.js';
/**
* 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>;
}