import { EventEmitter, Injector, OnInit } from '@angular/core';
import { DataFormBase } from '../../../classes/base/data-form-base';
import { FormState } from '../../../classes/constants';
import { CustomControlSchema, EventData } from '../../../classes/form-schema';
import { CrudListComponent } from '../../../components/crud/crud-list/crud-list.component';
import { CongViecNextFirstStepComponent } from '../congviec-next-first-step/congviec-next-first-step.component';
import { WorkflowPermissionDetailService } from '../../../components/workflow/services/workflow-permission-detail.service';
import { ResponseResult } from '../../../models/response-result';
import { DmLinhVucCongViecService } from '../../dm-linhvuc-congviec/services/dm-linhvuc-congviec.service';
import { DmLoaiCongViecService } from '../../dm-loai-congviec/services/dm-loai-congviec.service';
import { DmPriorityService } from '../../dm-priority/services/dm-priority.service';
import { EnumLoaiDanhSachCongViec } from '../../models/enums';
import { CongViecService } from '../services/congviec.service';
export declare class BaseCongViecFormComponent extends DataFormBase implements OnInit {
    protected _injector: Injector;
    private _congViecService;
    private _dmLoaiCongViecService;
    private _dmLinhVucCongViecService;
    private _dmPriorityService;
    private _workflowPermissionDetailService;
    formNextFirstStep: CongViecNextFirstStepComponent;
    itemId: string;
    crudList: CrudListComponent;
    control: CustomControlSchema;
    _tenCongViec: string;
    set tenCongViec(value: string);
    onAfterInserted: EventEmitter<any>;
    autoFocus: boolean;
    enumFormState: typeof FormState;
    enumLoaiDanhSachCongViec: typeof EnumLoaiDanhSachCongViec;
    currentTabIndex: number;
    users: {
        taskName: string;
        assignee: any;
        assigner: any;
        relatedUsers: any[];
    };
    tabDataTask: any[];
    tabDataChild: any[];
    buttons: any[];
    mdWidthWorkflow: number;
    mdLoaiCongViec: number;
    idLoaiCongViec: string;
    constructor(_injector: Injector, _congViecService: CongViecService, _dmLoaiCongViecService: DmLoaiCongViecService, _dmLinhVucCongViecService: DmLinhVucCongViecService, _dmPriorityService: DmPriorityService, _workflowPermissionDetailService: WorkflowPermissionDetailService);
    ngOnInit(): void;
    onFormInitialized(evt: EventData): Promise<void>;
    setTenCongViec(): void;
    modifyDetailData(data: {
        [key: string]: any;
    }): Promise<void>;
    clearWorkflowButtons(): void;
    generateWorkflowButton(data: {
        [key: string]: any;
    }): Promise<void>;
    handleChangeLoaiCongViecWhenAdd: (evt: EventData) => Promise<void>;
    loadWorkflowByLoaiCongViec(evt: EventData, idLoaiCongViec: string): Promise<void>;
    onBeforeSave(): Promise<boolean>;
    onAfterSave(res: ResponseResult): void;
    onTabChange(evt: any): void;
    forcusToFirstInputControl(event: any): void;
}
//# sourceMappingURL=congviec-form.component.d.ts.map