import { EventEmitter } from "@angular/core";
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
import { Workflow } from "@colijnit/mainapi/build/model/workflow.bo";
import { WorkflowTrigger } from "@colijnit/mainapi/build/model/workflow-trigger.bo";
import { ModuleNavigationLink } from "@colijnit/mainapi/build/enum/module-navigation-link";
import { WorkflowGenericTransition } from "@colijnit/mainapi/build/model/workflow-generic-transition.bo";
import { ActivityViewModel } from "@colijnit/mainapi/build/model/activity-view-model";
import { CoreDialogService } from "@colijnit/corecomponents_v12";
import { Icon } from "../../../enum/icon.enum";
import { ActivityCfgName } from "../../../enum/activity-cfg-name.enum";
import { ActivitiesTaskConfigNames } from "../../../interface/activities-task-config-names";
import { OperationCallbackSimpleFunction } from "../../../interface/operation-callback-simple-function";
import { TaskModifierComponent } from "../../task-modifyer/task-modifier.component";
import { SharedService } from "../../../service/shared.service";
import { SharedComponentsDictionaryService } from '../../../translation/shared-components-dictionary.service';
export declare abstract class BaseActivityOverviewComponent {
    private _dialogService;
    private _dictionaryService;
    private _sharedService;
    readonly icon: typeof Icon;
    readonly cfgNames: typeof ActivityCfgName;
    readonly taskCfgNames: ActivitiesTaskConfigNames;
    taskModifier: TaskModifierComponent;
    set viewModel(value: ActivityViewModel);
    set triggerToFireOnSave(value: WorkflowTrigger);
    get triggerToFireOnSave(): WorkflowTrigger;
    prepareWorkflowOperation: OperationCallbackSimpleFunction;
    userRelationId: number;
    userGroupId: number;
    handleOpenLinkSidebar: boolean;
    activityChange: EventEmitter<Activity>;
    readonly activityDeleted: EventEmitter<Activity>;
    triggerFired: EventEmitter<Activity>;
    genericTriggerFired: EventEmitter<Activity>;
    formCreated: EventEmitter<void>;
    formTriggerFired: EventEmitter<void>;
    openLink: EventEmitter<Activity>;
    linkClicked: EventEmitter<{
        module: string;
        id: string;
    }>;
    set activity(value: Activity);
    get activity(): Activity;
    workFlow: Workflow;
    targetDate: Date;
    deadlineDate: Date;
    activityName: string;
    activityDescription: string;
    activityTitle: string;
    activityContextTitle: string;
    openButtonLabel: string;
    overDue: boolean;
    userIsSupervisor: boolean;
    table: string;
    key: string;
    urls: string[];
    firstTriggerToCloseWF: WorkflowTrigger;
    isTask: boolean;
    hasTriggers: boolean;
    link: ModuleNavigationLink;
    linkDescription: string;
    sameDates: boolean;
    private _activity;
    private _viewModel;
    private _triggerToFireOnSave;
    constructor(_dialogService: CoreDialogService, _dictionaryService: SharedComponentsDictionaryService, _sharedService: SharedService);
    handleButtonEndClick(): void;
    handleGenericTriggerClick(event: WorkflowGenericTransition): Promise<void>;
    handleTriggerClick(eventTrigger: WorkflowTrigger): Promise<void>;
    handleOpenLink(event: MouseEvent, url?: string): void;
    handleOpenLinkOrUrl(event: MouseEvent): void;
    startModifyingTask(): void;
    showTaskFormAndWorkLog(): void;
    handleFormTriggerFired(): void;
    onSaveActivity(activity: Activity): void;
    onDeleteActivity(activity: Activity): void;
    private _prepareData;
    private _setFirstTriggerToCloseWF;
    private _openUrl;
    private _stopEventPropagation;
}
