import { LocalMethods, MethodInterface } from '../common'; export default function connect(namespace: string, methods?: LocalMethods): Promise;