import { EventEmitter, OnInit } from '@angular/core';
import { Icon } from '../../enum/icon.enum';
import { IconCacheService } from '../../service/icon-cache.service';
import { Remark } from '@colijnit/mainapi/build/model/remark.bo';
import { RelationSmallObject } from '@colijnit/mainapi/build/model/relation-small-object.bo';
import { TableName } from '@colijnit/mainapi/build/enum/table-name.enum';
import { Work } from '@colijnit/mainapi/build/model/work.bo';
import { Task } from '@colijnit/mainapi/build/model/task.bo';
import { WorkflowCategoryType } from '@colijnit/mainapi/build/enum/workflow-category.enum';
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
import { activityEmailRequestData } from '@colijnit/mainapi/build/model/activity-email-request-data';
import { SharedService } from '../../service/shared.service';
import { CoreDialogService, FormComponent, FormMasterService, ScreenConfigAdapterComponent } from '@colijnit/corecomponents_v12';
import { IconListItem } from '@colijnit/corecomponents_v12/lib/model/icon-list-item';
import { SharedComponentsDictionaryService } from '../../translation/shared-components-dictionary.service';
export declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterComponent {
    iconService: IconCacheService;
    dictionaryService: SharedComponentsDictionaryService;
    sharedService: SharedService;
    private _dialogService;
    private _formMasterService;
    readonly icons: typeof Icon;
    createForm: FormComponent;
    author: RelationSmallObject;
    branchNo: string;
    table: TableName;
    remarkAndWorkKey: string;
    taskKey: string;
    workflowCategoryType: WorkflowCategoryType;
    activityCreated: EventEmitter<void>;
    showClass(): boolean;
    objectConfigName: string;
    hidden: boolean;
    required: boolean;
    forceReadonly: boolean;
    readonly: boolean;
    maxLength: number;
    decimals: number;
    redErrorBackground: boolean;
    optionCollection: IconListItem[];
    showFilesDialog: boolean;
    documents: CoDocument[];
    oldDocuments: CoDocument[];
    showEmailDialog: boolean;
    senderAddress: string;
    emailAddresses: string[];
    bccEmailAddresses: string[];
    emailRequest: activityEmailRequestData;
    createdTask: Task;
    createdRemark: Remark;
    createdWork: Work;
    chosenActivityType: IconListItem;
    remarkText: string;
    workDescription: string;
    taskName: string;
    taskDescription: string;
    constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService);
    ngOnInit(): Promise<void>;
    itemSelected(item: IconListItem): void;
    openAttachmentDialog(): void;
    attachmentDialogClosed(): void;
    attachmentDialogCancelled(): void;
    addedDocument(docs: CoDocument[]): Promise<void>;
    deletedDocument(doc: CoDocument): Promise<void>;
    createRemarkClicked(): Promise<void>;
    createWorkClicked(): Promise<void>;
    createTaskClicked(): Promise<void>;
    private createRemark;
    private createWork;
    private createTask;
    private handleAfterCreation;
    private sendEmailIfNeccesary;
    private findReportType;
    private findDefault;
    private startEmailing;
    private _createEmailParams;
    private _createEmailAddressString;
    private _createEmailSubject;
    private _clearFields;
}
