import { TapnpassProtocolConfiguration } from '@iotize/tap/service/impl/tapnpass';
import { TargetSerialModbusProtocolConfiguration } from '@iotize/tap/service/impl/target';
export declare type ProtocolConfigurationField = keyof TargetSerialModbusProtocolConfiguration.Serial | keyof TapnpassProtocolConfiguration.Modbus;
export declare const SERIAL_SETTINGS_FIELDS: (keyof TargetSerialModbusProtocolConfiguration.Serial)[];
export declare const MODBUS_SETTINGS_FIELDS: (keyof TargetSerialModbusProtocolConfiguration.Serial | keyof TapnpassProtocolConfiguration.Modbus)[];
export declare const TAPNPASS_SETTINGS_FIELDS: (keyof TapnpassProtocolConfiguration.Serial)[];
export declare const ALL_SETTINGS_FIELDS: ProtocolConfigurationField[];
export declare class ProtocolConfigurationError extends Error {
    cause?: Error | undefined;
    code: string;
    constructor(msg: string, cause?: Error | undefined);
    static tapResponseError(err: Error, msg: string): ProtocolConfigurationError;
}
