import { SerialConfig, ModbusConfig, UsbConfig, LEDsConfig } from '@iotize/device-client.js/config/schema/v1';
import { UartSettings, FirmwareState } from '@iotize/device-client.js';
export declare type ProtocolConfigurationDataConfig = {
    serial: SerialConfig;
    modbus: ModbusConfig;
    usb?: UsbConfig;
    LEDs?: LEDsConfig;
};
export declare type ProtocolConfigurationData = {
    serial: UartSettings;
    usb?: UsbConfig;
};
export declare class InvalidTapConfig extends Error {
}
export declare enum TapConfigurationErrorCode {
    UnexpectedFirmwareState = "UnexpectedFirmwareState",
    InvalidConfiguration = "InvalidConfiguration"
}
export declare class TapConfigurationError extends Error {
    code: TapConfigurationErrorCode;
    constructor(code: TapConfigurationErrorCode, msg: string);
    static unexpectedFirmwareState(state: FirmwareState): TapConfigurationError;
    static invalidConfiguration(message: string): TapConfigurationError;
}
