import { EventEmitter, OnChanges, SimpleChanges, OnInit } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { ActionsModel } from '../models/actions.model'; import { FormService } from '../services/form.service'; export declare class FormComponent implements OnChanges, OnInit { private formService; viewModel: T; component: Object; submitted: EventEmitter; canceled: EventEmitter<{}>; formGroup: FormGroup; actions: ActionsModel; constructor(formService: FormService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; onSubmit(): void; private validate(formGroup); onCancel(): void; }