import { HMSHLSException } from './HMSHLSException';
import { HMSHLSExceptionEvents } from '../utilies/constants';
export declare type HMSHLSErrorDetails = {
    details: string;
    fatal?: boolean;
};
export declare const HMSHLSErrorFactory: {
    HLSNetworkError: {
        manifestLoadError(data: HMSHLSErrorDetails): HMSHLSException;
        manifestParsingError(data: HMSHLSErrorDetails): HMSHLSException;
        layerLoadError(data: HMSHLSErrorDetails): HMSHLSException;
    };
    HLSMediaError: {
        manifestIncompatibleCodecsError(data: HMSHLSErrorDetails): HMSHLSException;
        fragDecryptError(data: HMSHLSErrorDetails): HMSHLSException;
        bufferIncompatibleCodecsError(data: HMSHLSErrorDetails): HMSHLSException;
        videoElementNotFound(): HMSHLSException;
        autoplayFailed(): HMSHLSException;
        hlsURLNotFound(msg?: string): HMSHLSException;
    };
    HLSError: (data: HMSHLSErrorDetails, name?: string | HMSHLSExceptionEvents, description?: string) => HMSHLSException;
};
