import { AfterViewInit, ElementRef, EventEmitter, OnInit, Renderer2 } from "@angular/core";
import { Icon } from "../../enum/icon.enum";
import { IconCacheService } from "../../service/icon-cache.service";
import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-category.enum";
import { RoleEmailaddress } from "@colijnit/mainapi/build/model/role-email-address";
import { SharedService } from "../../service/shared.service";
export declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
    iconService: IconCacheService;
    sharedService: SharedService;
    private renderer;
    readonly icons: typeof Icon;
    recipientLabel: string;
    fieldLabel: string;
    extraLabel: string;
    set model(value: string[]);
    get model(): string[];
    set key(value: string);
    get key(): string;
    set workflowCategoryType(value: WorkflowCategoryType);
    get workflowCategoryType(): WorkflowCategoryType;
    readonly modelChange: EventEmitter<any>;
    emailAddressesAvailableForDropdown: RoleEmailaddress[];
    chosenEmailAddressesInDropDown: RoleEmailaddress[];
    emailModel: string;
    private _roleEmailAddresses;
    private _customEmailAddresses;
    private _model;
    private _key;
    private _workflowCategoryType;
    chipsWrapperWidth: number;
    showClass(): boolean;
    chipsWrapper: ElementRef;
    inputText: ElementRef;
    constructor(iconService: IconCacheService, sharedService: SharedService, renderer: Renderer2);
    ngOnInit(): Promise<void>;
    ngAfterViewInit(): void;
    fetchRoleEmailAddresses(): Promise<void>;
    roleChosen(roles: RoleEmailaddress[]): void;
    handleKeyPressed(event: KeyboardEvent): void;
    addEmail(): void;
    updateModel(): void;
    removeOptionFromModel(email: string): void;
    private updateChipsWrapperWidth;
}
