/** * Replaces the http/https/ws protocol with wss or ws considering the useSSL config param * @param initialURL */ export default function replaceUrlProtocol(initialURL: string): string;