import { HMSAction } from './HMSAction';
import { IAnalyticsPropertiesProvider } from '../analytics/IAnalyticsPropertiesProvider';
import { HMSSignalMethod } from '../signal/jsonrpc/models';
export declare class HMSException extends Error implements IAnalyticsPropertiesProvider {
    readonly code: number;
    name: string;
    message: string;
    description: string;
    isTerminal: boolean;
    action: string;
    nativeError?: Error;
    constructor(code: number, name: string, action: HMSAction | HMSSignalMethod, message: string, description: string, isTerminal?: boolean);
    toAnalyticsProperties(): {
        error_name: string;
        error_code: number;
        error_message: string;
        error_description: string;
        action: string;
        is_terminal: boolean;
    };
    addNativeError(error: Error): void;
    toString(): string;
}
