import { NativeEventEmitter } from 'react-native';
declare class TvWsProtocol {
    TvWsProtocol: any;
    onmessage: any;
    onconnect: any;
    ondisconnect: any;
    onerror: any;
    nativeEvent: NativeEventEmitter;
    eventSubscriptions: Array<any>;
    constructor();
    initListener: () => void;
    create: (uri: string, options: any) => void;
    send: (message: string) => void;
    isConnected: () => any;
    close: () => void;
    error: (message: any) => void;
}
export default TvWsProtocol;
