import * as _angular_forms from '@angular/forms';
import { FormBuilder } from '@angular/forms';
import * as i0 from '@angular/core';
import { OnInit } from '@angular/core';
import { RemoteAccessConfiguration } from '@c8y/ngx-components/remote-access/data';

declare class RemoteAccessVncEndpointModalComponent implements OnInit {
    private formBuilder;
    credentialTypes: ({
        readonly name: "NONE";
        readonly value: "NONE";
        readonly label: "No password";
    } | {
        readonly name: "PASS_ONLY";
        readonly value: "PASS_ONLY";
        readonly label: "Password only";
    })[];
    title: "Remote access endpoint";
    form: ReturnType<typeof this.initForm>;
    currentValue: Partial<RemoteAccessConfiguration>;
    result: Promise<Partial<{
        id: string;
        name: string;
        hostname: string;
        port: number;
        protocol: string;
        password: string;
        credentialsType: "PASS_ONLY" | "NONE";
    }>>;
    private _resolve;
    private _reject;
    constructor(formBuilder: FormBuilder);
    ngOnInit(): void;
    initForm(): _angular_forms.FormGroup<{
        id: _angular_forms.FormControl<string>;
        name: _angular_forms.FormControl<string>;
        hostname: _angular_forms.FormControl<string>;
        port: _angular_forms.FormControl<number>;
        protocol: _angular_forms.FormControl<string>;
        password: _angular_forms.FormControl<string>;
        credentialsType: _angular_forms.FormControl<"PASS_ONLY" | "NONE">;
    }>;
    cancel(): void;
    save(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<RemoteAccessVncEndpointModalComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RemoteAccessVncEndpointModalComponent, "c8y-remote-access-vnc-endpoint-modal", never, {}, {}, never, never, true, never>;
}

export { RemoteAccessVncEndpointModalComponent };
//# sourceMappingURL=index.d.ts.map
