import { EventEmitter, Injector, OnInit } from '@angular/core';
import { DataFormBase } from '../../../classes/base/data-form-base';
import { CrudListSetting, EventData } from '../../../classes/form-schema';
import { StateMachinesService } from '../../statemachines/services/statemachines.service';
import { WfAction, WfItem, WorkflowTargetDefaultValue } from '../models/models';
import { ProcessWorkflowTargetComponent } from '../process-workflow-target/process-workflow-target.component';
import { WorkflowHistoryService } from '../services/workflow-history.service';
export declare class ProcessWorkflowFormComponent extends DataFormBase implements OnInit {
    protected _injector: Injector;
    private _stateMachinesService;
    private _workflowHistoryService;
    formTargetAllowEdit: ProcessWorkflowTargetComponent;
    formTargetOnlyView: ProcessWorkflowTargetComponent;
    businessSetting: CrudListSetting;
    item: any;
    workflow: WfItem;
    action: WfAction;
    onInvalidWorkflow: EventEmitter<any>;
    formReady: boolean;
    mainTabData: any[];
    isActionKetThuc: boolean;
    dataAllowEdit: any;
    dataOnlyView: any;
    ruleUsers: any[];
    initValueForTargetForm: WorkflowTargetDefaultValue;
    userIdsDaThucHien: string[];
    constructor(_injector: Injector, _stateMachinesService: StateMachinesService, _workflowHistoryService: WorkflowHistoryService);
    ngOnInit(): void;
    init(): void;
    initRule(): Promise<void>;
    checkNeedGetUser(): boolean;
    getUserForProcessWorkflow(): Promise<boolean>;
    private checkNeedGetUserByUserData;
    setDataAndTriggerReady(): void;
    onFormInitialized(evt: EventData): Promise<void>;
    validateForm(): Promise<boolean>;
    private isEmptyArray;
    getModelProcessWorkflow(): any;
    getPromiseActionInsert(): Promise<import("../../../public-api").ResponseResult>;
    fieldListToString(dataPost: any, field: string): void;
    handleInsertError(): void;
}
//# sourceMappingURL=process-workflow-form.component.d.ts.map