import { EventEmitter, Injector, OnInit } from '@angular/core';
import { DataFormBase } from '../../../classes/base/data-form-base';
import { CrudListSetting, EventData } from '../../../classes/form-schema';
import { DmLoaiCongViecService } from '../../../congviec/dm-loai-congviec/services/dm-loai-congviec.service';
import { StateMachinesService } from '../../statemachines/services/statemachines.service';
import { WorkflowSettingsService } from '../services/workflow-settings.service';
import { WorkflowPickerComponent } from '../workflow-picker/workflow-picker.component';
export declare class WorkflowSettingNewComponent extends DataFormBase implements OnInit {
    protected _injector: Injector;
    private _workflowSettingsService;
    private _stateMachinesService;
    private _dmLoaiCongViecService;
    workflowPickerComp: WorkflowPickerComponent;
    parentSetting: CrudListSetting;
    onSaved: EventEmitter<any>;
    onCancel: EventEmitter<any>;
    onSaveSetting: EventEmitter<any>;
    dicMachinesData: any;
    readyCrudForm: boolean;
    constructor(_injector: Injector, _workflowSettingsService: WorkflowSettingsService, _stateMachinesService: StateMachinesService, _dmLoaiCongViecService: DmLoaiCongViecService);
    ngOnInit(): void;
    checkIfCreateTaskInstead: (rootModel: any, value: any) => boolean;
    onFormInitialized(evt: EventData): Promise<void>;
    getSetting(): Promise<void>;
    afterGetSetting(): void;
    handleCancelWorkflow(event: any): void;
    validateForm(): Promise<boolean>;
    onBeforeSave(): void;
    handleManualSave(): void;
}
//# sourceMappingURL=workflow-setting-new.component.d.ts.map