import { OnInit, OnDestroy } from '@angular/core'; import { Location } from '@angular/common'; import { Router } from '@angular/router'; import { VedraxApiService } from '../../services/vedrax-api.service'; import { VedraxFormComponent } from '../vedrax-form/vedrax-form.component'; import { DescriptorForm } from '../../descriptor/descriptor-form'; import { SnackbarService } from '../../services/snackbar.service'; import * as i0 from "@angular/core"; /** * Class that defines a form */ export declare class VedraxFormCardComponent implements OnInit, OnDestroy { private apiService; private snackbarService; private router; private location; /** * The form descriptor */ descriptor: DescriptorForm; /** * Provide optionnaly a card title */ title?: string; /** * The form component */ formComponent?: VedraxFormComponent; private subscription; constructor(apiService: VedraxApiService, snackbarService: SnackbarService, router: Router, location: Location); ngOnInit(): void; ngOnDestroy(): void; /** * Emit an event with data when the form is valid * * @param dto */ submit(dto: any): void; private redirectToSuccessIfProvided; cancel(event: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }