import { CodeError } from '@iotize/common/error';
import { BLEPacketBuilder } from './ble-packet-builder';
export declare class BleComError extends CodeError<BleComError.Code> {
    static invalidBleChunkChecksum(packetBuilder: BLEPacketBuilder): InvalidBleFrameChecksum;
    static writeSizeAboveMTU(data: Uint8Array, mtu: number): BleComError;
    static serviceNotFound(uuid: string): BleComError;
    static charcacteristicNotFound(uuid: string): BleComError;
    constructor(code: BleComError.Code, msg: string);
}
export declare class InvalidBleFrameChecksum extends BleComError {
    packetBuilder: BLEPacketBuilder;
    constructor(packetBuilder: BLEPacketBuilder);
    static create(packetBuilder: BLEPacketBuilder): InvalidBleFrameChecksum;
}
export declare namespace BleComError {
    enum Code {
        InvalidChecksum = "InvalidChecksum",
        BleGattServiceNotFound = "BleGattServiceNotFound",
        BleGattCharacteristicNotFound = "BleGattCharacteristicNotFound",
        BleWriteSizeAboveMTU = "BleWriteSizeAboveMTU"
    }
}
