import { WsState } from './types'; export default function state(endpoint: string, autoConnect: boolean): WsState;