import { Protocol } from '@colyseus/shared-types'; export declare const IpcProtocol: { readonly SUCCESS: 0; readonly ERROR: 1; readonly TIMEOUT: 2; }; export type IpcProtocol = typeof IpcProtocol[keyof typeof IpcProtocol]; export declare const getMessageBytes: { 10: (reconnectionToken: string, serializerId: string, handshake?: Uint8Array) => Buffer; 11: (code: number, message?: string) => Buffer; 14: (bytes: number[]) => number[]; 18: () => Buffer; raw: (code: Protocol, type: string | number, message?: any, rawMessage?: Uint8Array | Buffer) => Buffer; };