import type WebSocket from "ws"; export declare function rawDataToString(data: WebSocket.RawData, encoding?: BufferEncoding): string;