/**
 * Colyseus protocol codes range between 0~100
 * Use codes between 0~127 for lesser throughput (1 byte)
 */
export declare const Protocol: {
    readonly JOIN_ROOM: 10;
    readonly ERROR: 11;
    readonly LEAVE_ROOM: 12;
    readonly ROOM_DATA: 13;
    readonly ROOM_STATE: 14;
    readonly ROOM_STATE_PATCH: 15;
    readonly ROOM_DATA_SCHEMA: 16;
    readonly ROOM_DATA_BYTES: 17;
    readonly PING: 18;
};
export type Protocol = typeof Protocol[keyof typeof Protocol];
/**
 * HTTP MatchMaking Error Codes
 */
export declare const ErrorCode: {
    readonly MATCHMAKE_NO_HANDLER: 520;
    readonly MATCHMAKE_INVALID_CRITERIA: 521;
    readonly MATCHMAKE_INVALID_ROOM_ID: 522;
    readonly MATCHMAKE_UNHANDLED: 523;
    readonly MATCHMAKE_EXPIRED: 524;
    readonly AUTH_FAILED: 525;
    readonly APPLICATION_ERROR: 526;
    readonly INVALID_PAYLOAD: 4217;
};
export type ErrorCode = typeof ErrorCode[keyof typeof ErrorCode];
/**
 * WebSocket close codes
 * (See https://github.com/Luka967/websocket-close-codes)
 */
export declare const CloseCode: {
    readonly NORMAL_CLOSURE: 1000;
    readonly GOING_AWAY: 1001;
    readonly NO_STATUS_RECEIVED: 1005;
    readonly ABNORMAL_CLOSURE: 1006;
    readonly CONSENTED: 4000;
    readonly SERVER_SHUTDOWN: 4001;
    readonly WITH_ERROR: 4002;
    readonly FAILED_TO_RECONNECT: 4003;
    readonly MAY_TRY_RECONNECT: 4010;
};
export type CloseCode = typeof CloseCode[keyof typeof CloseCode];
