import { OnInit, OnDestroy } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { AuthenticationService } from '../../services/authentication.service'; import { UserDto } from '../../shared/user-dto'; import { VedraxFormComponent } from '../vedrax-form/vedrax-form.component'; import { DescriptorForm } from '../../descriptor/descriptor-form'; import * as i0 from "@angular/core"; export declare class VedraxLoginComponent implements OnInit, OnDestroy { private authenticationService; private route; private router; private subscription; /** * Login form control descriptor */ descriptor: DescriptorForm; /** * When true can redirect to register page */ enableCancel?: boolean; /** * URL for accessing the register page if any */ registerPage?: string; /** * redirection url after success login */ returnUrl: string; /** * The submit label */ submitLabel: string; /** * The form component */ formComponent?: VedraxFormComponent; constructor(authenticationService: AuthenticationService, route: ActivatedRoute, router: Router); ngOnInit(): void; ngOnDestroy(): void; submit(dto: UserDto): void; redirectToRegister(event: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }