import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { Icon } from '../../../enum/icon.enum';
import { TransactionEventService } from '../../../service/transaction-event.service';
import { TransactionService } from '../../../service/transaction.service';
import { IconCacheService } from '../../../service/icon-cache.service';
import { TransactionRelationService } from '../../../service/transaction-relation.service';
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
import { TransactionHeaderService } from '../../core/base/service/transaction-header.service';
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
import { TransactionCfgName } from '../../../enum/transaction-cfg-name.enum';
import { TransactionConnectorService } from "../../../service/transaction-connector.service";
export interface PopupCategory {
    index: number;
    icon: Icon;
    description: string;
    description2: string;
}
export declare class TransactionHeaderPopupComponent implements OnInit, OnDestroy {
    iconCacheService: IconCacheService;
    private _transactionService;
    private _transactionEventService;
    private _transactionHeaderService;
    private _relationService;
    private _transactionScreenConfigurationService;
    private _transactionConnectorService;
    readonly transKind: typeof TransactionKind;
    readonly cfgNames: typeof TransactionCfgName;
    readonly icons: typeof Icon;
    deliveryLocalHash: string;
    invoiceLocalHash: string;
    firstDayOfWeek: string;
    set activeCategoryDescription(description: string);
    closeClick: EventEmitter<MouseEvent>;
    showClass(): boolean;
    categories: PopupCategory[];
    okButtonEnabled: boolean;
    saving: boolean;
    activeCategory: PopupCategory;
    private _activeCategoryDescription;
    private _subs;
    constructor(iconCacheService: IconCacheService, _transactionService: TransactionService, _transactionEventService: TransactionEventService, _transactionHeaderService: TransactionHeaderService, _relationService: TransactionRelationService, _transactionScreenConfigurationService: TransactionScreenConfigurationService, _transactionConnectorService: TransactionConnectorService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    handleDeliveryHashChange(localHash: string): void;
    handleInvoiceHashChange(localHash: string): void;
    handleCloseClick(event: MouseEvent): void;
    handleCategoryClick(cat: PopupCategory): void;
    handleOkButtonClick(event: MouseEvent): void;
    checkFirstDayOfWeek(): Promise<void>;
    private _prepareCategories;
}
