UNPKG

@applitools/socket

Version:

Applitools implementation for bidi-communication protocol

14 lines (13 loc) 417 B
/// <reference types="node" /> import { type Transport } from '../transport'; import { type EventEmitter } from 'events'; export type Data = any; export type Options = { events: { message: string; emit: string; }; }; export declare function makeTransport(options: Options): Transport<EventEmitter, Data>; export declare const transport: Transport<EventEmitter, any>; export default transport;