import { CodeError } from '@iotize/common/error';
import { SinglePacket } from '@iotize/tap/service/impl/single-packet';
export declare class DataLoggerError extends CodeError<DataLoggerError.Code> {
    cause?: Error | undefined;
    constructor(code: DataLoggerError.Code, msg: string, cause?: Error | undefined);
    static decodePacketError(singlePacket: SinglePacket, cause: Error): DataLoggerError.CannotDecodePacketError;
    static notAuthorizedToPerformAction(msg: string, cause: Error): DataLoggerError;
}
export declare namespace DataLoggerError {
    class CannotDecodePacketError extends DataLoggerError {
        singlePacket: SinglePacket;
        constructor(singlePacket: SinglePacket, cause: Error);
    }
    enum Code {
        DecodePacketError = "DataLoggerErrorDecodePacket",
        ActionUnauthorizedError = "DataLoggerErrorActionUnauthorized"
    }
}
