import * as _angular_forms from '@angular/forms'; import { FormBuilder, ControlValueAccessor } from '@angular/forms'; import * as i0 from '@angular/core'; import { OnInit, OnChanges, SimpleChanges } from '@angular/core'; import { RemoteAccessConfiguration } from '@c8y/ngx-components/remote-access/data'; import { DroppedFile } from '@c8y/ngx-components'; declare class RemoteAccessBasicEndpointModalComponent implements OnInit { private formBuilder; title: "Remote access endpoint"; form: ReturnType; currentValue: Partial; result: Promise>; private _resolve; private _reject; constructor(formBuilder: FormBuilder); ngOnInit(): void; initForm(): _angular_forms.FormGroup<{ id: _angular_forms.FormControl; name: _angular_forms.FormControl; hostname: _angular_forms.FormControl; port: _angular_forms.FormControl; protocol: _angular_forms.FormControl; credentialsType: _angular_forms.FormControl<"NONE" | "PASS_ONLY">; attrs: _angular_forms.FormControl; }>; cancel(): void; save(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const types: readonly [{ readonly name: "PRIVATE"; readonly value: "private"; readonly placeholder: "-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAK...VQvopm2xw==----- END RSA PRIVATE KEY-----"; }, { readonly name: "PUBLIC"; readonly value: "public"; readonly placeholder: "ssh-rsa AAAAB3NzaC...1kc3MAAACB== user@example.com"; }, { readonly name: "CERTIFICATE"; readonly value: "certificate"; readonly placeholder: "ssh-rsa-cert-v01@openssh.com AAAAHHNz...Y9gBU= user@example.com"; }]; declare class SshKeyInputComponent implements OnInit, OnChanges, ControlValueAccessor { keyType: (typeof types)[number]['value']; readonly: boolean; placeholder: string; value: string; onChange: (value: string) => void; onTouch: () => void; writeValue(obj: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; onKeyFileSelected(event: DroppedFile[]): Promise; newValue(value: string): void; private reassignPlaceholder; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export { RemoteAccessBasicEndpointModalComponent, SshKeyInputComponent }; //# sourceMappingURL=index.d.ts.map