@fanoutio/grip
Version:
GRIP Interface Library
5 lines • 396 B
TypeScript
import { type IWebSocketEvent } from '../data/index.js';
export declare function encodeWebSocketEvents(events: IWebSocketEvent[]): Uint8Array;
export declare function decodeWebSocketEvents(body: Uint8Array | string): IWebSocketEvent[];
export declare function createWebSocketControlMessage(type: string, args?: Record<string, string> | null): string;
//# sourceMappingURL=webSocketEvents.d.ts.map