import { EventEmitter, OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { SerialSettings, TargetSerialModbusProtocolConfiguration } from '@iotize/tap/service/impl/target';
import { ProtocolConfigurationField } from '../definitions';
import { ProtocolConfigurationService } from '../protocol-configuration.service';
export declare class TapProtocolConfigurationFormComponent implements OnInit {
    protocolConfigurationService: ProtocolConfigurationService;
    customBaudRate: boolean;
    baudRates: Array<number>;
    fields: ("timeout" | "baudRate" | "physicalPort" | "stopBits" | "bitParity" | "dataBits" | "handshakeDelimiter" | "hardwareFlowControl" | "slave" | "offsetFirstRegister")[];
    set values(v: Partial<TargetSerialModbusProtocolConfiguration>);
    valueChanges: EventEmitter<TargetSerialModbusProtocolConfiguration>;
    form: FormGroup;
    constructor(formBuilder: FormBuilder, protocolConfigurationService: ProtocolConfigurationService);
    hasField(field: ProtocolConfigurationField): boolean;
    get SerialSettings(): typeof SerialSettings;
    updateFormValue(settings: Partial<TargetSerialModbusProtocolConfiguration>): void;
    ngOnInit(): void;
}
