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';
import * as i0 from "@angular/core";
export declare class TapProtocolConfigurationFormComponent implements OnInit {
    protocolConfigurationService: ProtocolConfigurationService;
    customBaudRate: boolean;
    baudRates: Array<number>;
    fields: ProtocolConfigurationField[];
    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;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapProtocolConfigurationFormComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapProtocolConfigurationFormComponent, "tap-protocol-configuration-form", never, { "customBaudRate": "customBaudRate"; "baudRates": "baudRates"; "fields": "fields"; "values": "values"; }, { "valueChanges": "valueChanges"; }, never, never>;
}
