import { OnInit } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { ActivatedRoute, Router } from '@angular/router'; import { BaseModal, ModalService } from 'carbon-components-angular'; import { FormDefinition, FormManagementParams } from '../../models'; import { FormManagementService } from '../../services'; import { TranslateService } from '@ngx-translate/core'; import { GlobalNotificationService, ManagementContext } from '@valtimo/shared'; import * as i0 from "@angular/core"; export declare class FormManagementDuplicateComponent extends BaseModal implements OnInit { readonly formToDuplicate: FormDefinition; readonly context: ManagementContext; readonly params: FormManagementParams; protected modalService: ModalService; protected formManagementService: FormManagementService; protected route: ActivatedRoute; private router; private readonly notificationService; private readonly translateService; duplicateForm: FormGroup; get duplicateFormName(): FormControl; getDefaultName(): string; constructor(formToDuplicate: FormDefinition, context: ManagementContext, params: FormManagementParams, modalService: ModalService, formManagementService: FormManagementService, route: ActivatedRoute, router: Router, notificationService: GlobalNotificationService, translateService: TranslateService); ngOnInit(): void; private initForm; duplicate(): void; private navigateWithNewId; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } //# sourceMappingURL=form-management-duplicate.component.d.ts.map