/**
 * @name: ErrorTypes
 * @author: yangliye
 * @date: 2022-07-08 11:20
 * @description：ErrorTypes
 * @update: 2022-07-08 11:20
 */
import { BoomError } from "./BoomError";
/**
 * boom-core层的错误
 */
export declare type ErrorTypes = {
    code: number;
    message: string;
    name?: string;
};
export declare enum BoomCoreErrorCode {
    'BloudLock' = 28,
    'ShareScreenNoPermission' = 100,
    'ShareScreenCanceled' = 101,
    'ShareScreenOtherError' = 102,
    'ShareScreenContentHintError' = 103,
    'ShareScreenClientJoinedError' = 104,
    'BrtcShareSigError' = 105,
    'ToggleShareScreenError' = 106,
    'BrtcCreateStreamError' = 107,
    'BrtcSubscribeError' = 108,
    'BrtcPublishError' = 109,
    'BrtcUnsubscribeError' = 110,
    'BrtcUnPublishError' = 111,
    'RepeatJoinError' = 112,
    'ProxiesUrlTypeError' = 113,
    'getBloudProxiesUrlError' = 114,
    'JoinUserInfoError' = 115,
    'JoinTypeError' = 116,
    'JoinBrtcError' = 117,
    'JoinBloudError' = 118,
    'UpdateCustomStatsError' = 119,
    'CreateBloudError' = 120
}
export declare const ShareScreenNoPermission: BoomError;
export declare const ShareScreenCanceled: BoomError;
export declare const ShareScreenOtherError: (msg: string) => BoomError;
export declare const ShareScreenContentHintError: BoomError;
export declare const ShareScreenClientJoinedError: BoomError;
export declare const BrtcShareSigError: BoomError;
export declare const ToggleShareScreenError: (msg: string) => BoomError;
export declare const RepeatJoinError: BoomError;
export declare const ProxiesUrlTypeError: BoomError;
export declare const getBloudProxiesUrlError: (msg: string) => BoomError;
export declare const JoinUserInfoError: BoomError;
export declare const JoinTypeError: BoomError;
export declare const JoinBrtcError: (msg: string) => BoomError;
export declare const JoinBloudError: (msg: string) => BoomError;
export declare const BloudLockError: (msg: string) => BoomError;
export declare const BrtcCreateStreamError: (msg: string) => BoomError;
export declare const BrtcSubscribeError: (msg: string) => BoomError;
export declare const BrtcPublishError: (msg: string) => BoomError;
export declare const BrtcUnsubscribeError: (msg: string) => BoomError;
export declare const BrtcUnPublishError: (msg: string) => BoomError;
export declare const updateCustomStatsError: (msg: string) => BoomError;
export declare enum BoomMeetingErrorCode {
    'BmJoinError' = 200,
    'BMLeaveError' = 201,
    'BmSetRemoteVideoEnable' = 202,
    'BmSetRemoteAudioEnable' = 203,
    'BmSetLocalVideoEnable' = 204,
    'BmSetLocalAudioEnable' = 205,
    'BmSetLocalSpeakerEnable' = 206,
    'BmChangeMasterError' = 207,
    'BmUpdateManagerError' = 208,
    'BmEvictUserError' = 209,
    'BmUpdateUserError' = 210,
    'BmSetAudioOffError' = 211,
    'BmSetVideoOffError' = 212,
    'BmSetMsgOffError' = 213,
    'BmUpdateCustomStatsError' = 214,
    'BmChangeVideoProfileError' = 215,
    'BmChangeAudioProfileError' = 216,
    'BmCheckDeviceError' = 217
}
export declare const BmJoinError: (msg: string) => BoomError;
export declare const BmLeaveError: (msg: string) => BoomError;
export declare const BmSetRemoteVideoEnable: (msg: string) => BoomError;
export declare const BmSetRemoteAudioEnable: (msg: string) => BoomError;
export declare const BmSetLocalVideoEnable: (msg: string) => BoomError;
export declare const BmSetLocalAudioEnable: (msg: string) => BoomError;
export declare const BmSetLocalSpeakerEnable: (msg: string) => BoomError;
export declare const BmChangeMasterError: (msg: string) => BoomError;
export declare const BmUpdateManagerError: (msg: string) => BoomError;
export declare const BmEvictUserError: (msg: string) => BoomError;
export declare const BmUpdateUserError: (msg: string) => BoomError;
export declare const BmSetAudioOffError: (msg: string) => BoomError;
export declare const BmSetVideoOffError: (msg: string) => BoomError;
export declare const BmSetMsgOffError: (msg: string) => BoomError;
export declare const BmUpdateCustomStatsError: (msg: string) => BoomError;
export declare const BmChangeVideoProfileError: (msg: string) => BoomError;
export declare const BmChangeAudioProfileError: (msg: string) => BoomError;
export declare const BmCheckDeviceError: (msg: string) => BoomError;
export declare enum StreamErrorMap {
    createStream = 1302,
    noCameraDevice = 1303,
    noMicroDevice = 1304,
    noSpeakerDevice = 1305,
    openCamera = 1301,
    cameraNotAuth = 1314,
    cameraOccupy = 1315,
    openMicro = 1302,
    micNotAuth = 1317,
    micOccupy = 1319,
    streamDisconnected = 1320,
    syncFail = 1321,
    getStreamFail = 1322,
    streamConnectError = 1323,
    streamReconnectSuccess = 1324,
    streamReconnectFailed = 1325,
    shareStreamConnectError = 1326,
    shareStreamConnectSuccess = 1327,
    shareStreamConnectFailed = 1328
}
export declare const BMCreateStreamError: (message: string) => BoomError;
export declare const getStreamError: (message: string) => BoomError;
export declare const BMNoCameraError: () => BoomError;
export declare const BMNoMicroError: () => BoomError;
export declare const BMNoSpeakerError: () => BoomError;
export declare const BMOpenCameraError: () => BoomError;
export declare const BMCameraNotAuthError: () => BoomError;
export declare const BMCameraOccupyError: () => BoomError;
export declare const BMOpenMicroError: () => BoomError;
export declare const BMMicNotAuthError: () => BoomError;
export declare const BMMicOccupyError: () => BoomError;
export declare const BMStreamDisconnectedError: (type: string) => BoomError;
export declare const BmSyncStreamFailError: () => BoomError;
export declare const BMStreamConnectError: () => BoomError;
export declare const BMShareStreamConnectError: () => BoomError;
export declare const BMStreamReconnectSuccess: (audio: boolean, video: boolean) => BoomError;
export declare const BMShareStreamReconnectSuccess: () => BoomError;
export declare const BMStreamReconnectFailed: () => BoomError;
export declare const BMShareStreamReconnectFailed: () => BoomError;
