import { WfItem } from "../components/workflow/models/models";
export declare enum EnumWFNhomTrangThai {
    BAT_DAU = 0,
    XU_LY = 1,
    KET_THUC = 2,
    TU_CHOI = 3,
    HUY = 4
}
export declare const LabelWFNhomTrangThai: {
    0: string;
    1: string;
    2: string;
    3: string;
    4: string;
};
export declare enum EnumActionType {
    TIEN = 1,
    LUI = 2,
    THOAT_VONG_LAP = 3
}
export declare enum DeadlineType {
    KHONG_CO = -1,
    GIO = 1,
    NGAY = 2,
    TUAN = 3,
    THANG = 4
}
export declare enum ManagerType {
    CAP_TREN = 2,
    NGUOI_CUOI_CUNG = 4,
    NGUOI_TAO = 5
}
export declare class WorkflowSetting {
    statuses: Status[];
    statusActions: StatusAction[];
    constructor(init?: WorkflowSetting);
}
export declare class Status {
    ma?: string;
    ten?: string;
    trangThaiContainer: TrangThaiMasterData;
    type: EnumWFNhomTrangThai;
    options: StatusOption;
    userInfo: StatusUser;
    groupInfo: StatusGroup;
    orgInfo: StatusOrg;
    constructor(init?: Status);
}
export declare class TrangThaiMasterData {
    ma: string;
    ten: string;
}
export declare class StatusOption {
    choPhepSua: boolean;
    public: boolean;
    isLoop: boolean;
}
export declare class StatusUser {
    userIds: string[];
    managerTypes: ManagerType[];
    userViewIds: string[];
}
export declare class StatusGroup {
    groupIds: string[];
    groupViewIds: string[];
}
export declare class StatusOrg {
    orgIds: string[];
    orgViewIds: string[];
}
export declare class StatusAction {
    sourceStatus: string;
    actions: Action[];
    constructor(init?: StatusAction);
}
export declare class Action {
    ma: string;
    icon: string;
    ten?: string;
    type?: EnumActionType;
    tenContainer: TenContainer;
    actionOptions: {
        batBuocDinhKem: boolean;
        openDialog: boolean;
        batBuocChonDonVi: boolean;
    };
    trangThaiSauXuLy: string;
    targetStatus: string;
    deadline: Deadline;
    constructor(init?: Action);
}
export declare class TenContainer {
    ten: string;
    actionType: EnumActionType;
}
export declare class Deadline {
    type: DeadlineType;
    time: number;
    constructor(init?: Deadline);
}
export declare class WorkflowSettingNew {
    createTaskInstead: boolean;
    autoNextStep: boolean;
    autoStartTask: boolean;
    taskInsideBusinessForm: boolean;
    templateTaskName: string;
    idLoaiCongViecDefault: string;
    workflowCodes: string[];
    workflowCode: string;
    workflows: WfItem[];
}
//# sourceMappingURL=workflow-schema.d.ts.map