import { EventEmitter } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { CurrentDeviceService } from '../../current-device.service';
import { ProtocolSelectedEvent } from '../../tap-scanner/api';
import * as i0 from "@angular/core";
export interface TapConnectMqttComponentFormData {
    endpoint?: string;
    serialNumber?: string;
    password?: string;
    netKey?: string;
    username?: string;
}
export declare class TapConnectMqttComponent {
    protected currentDevice: CurrentDeviceService;
    private formBuilder;
    onProtocolSelected: EventEmitter<ProtocolSelectedEvent>;
    onError: EventEmitter<Error>;
    set defaults(defaultData: Partial<TapConnectMqttComponentFormData>);
    validation_messages: {
        username: never[];
        serialNumber: {
            type: string;
            message: string;
        }[];
        netKey: {
            type: string;
            message: string;
        }[];
    };
    form: FormGroup;
    loading: boolean;
    rememberGroupName: string;
    get password(): import("@angular/forms").AbstractControl<any, any>;
    get username(): import("@angular/forms").AbstractControl<any, any>;
    get serialNumber(): import("@angular/forms").AbstractControl<any, any>;
    get netKey(): import("@angular/forms").AbstractControl<any, any>;
    get endpoint(): import("@angular/forms").AbstractControl<any, any>;
    constructor(currentDevice: CurrentDeviceService, formBuilder: FormBuilder);
    onSubmit(): void;
    _onError(err: Error): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<TapConnectMqttComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<TapConnectMqttComponent, "tap-connect-mqtt", never, { "defaults": "defaults"; }, { "onProtocolSelected": "onProtocolSelected"; "onError": "onError"; }, never, never, false>;
}
