import { serializeCoreEvent } from "../events/types.js";
export class RpcAdapter {
    send;
    constructor(options) {
        this.send = options.send;
    }
    onEvent(event) {
        this.send(serializeCoreEvent(event));
    }
    onUserInput(_text) {
        // rpc input handling will be wired up in a future task
    }
    onInterrupt() {
        // rpc interruption will be wired up in a future task
    }
}
//# sourceMappingURL=rpc_adapter.js.map