import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { TransactionEventService } from '../../../service/transaction-event.service';
import { TransactionService } from '../../../service/transaction.service';
import { IconCacheService } from '../../../service/icon-cache.service';
import { DictionaryService } from '../../../service/dictionary.service';
import { TransactionImageService } from '../../../service/transaction-image.service';
import { FormComponent, FormMasterService } from '@colijnit/corecomponents_v12';
import { TransactionDialogService } from '../../../service/transaction-dialog.service';
import { TransactionRelationService } from '../../../service/transaction-relation.service';
import { TransactionScreenConfigurationService } from '../../../service/transaction-screen-configuration.service';
import { TransactionHeaderBaseComponent } from '../../core/base/transaction-header-base.component';
import { TransactionHeaderService } from '../../core/base/service/transaction-header.service';
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
export declare abstract class TransactionHeaderPopupBaseComponent extends TransactionHeaderBaseComponent implements OnInit, OnDestroy {
    transactionHeaderService: TransactionHeaderService;
    transactionEventService: TransactionEventService;
    service: TransactionService;
    iconCacheService: IconCacheService;
    transactionScreenConfigurationService: TransactionScreenConfigurationService;
    protected dictionaryService: DictionaryService;
    protected imageService: TransactionImageService;
    protected changeDetector: ChangeDetectorRef;
    protected dialogService: TransactionDialogService;
    protected formMasterService: FormMasterService;
    protected relationService: TransactionRelationService;
    set content(form: FormComponent);
    cloneRelation: RelationAnyType;
    cloneRelationChange: EventEmitter<any>;
    dirty: boolean;
    form: FormComponent;
    selectedDeliveryLocalHash: string;
    selectedInvoiceLocalHash: string;
    private _subs;
    constructor(transactionHeaderService: TransactionHeaderService, transactionEventService: TransactionEventService, service: TransactionService, iconCacheService: IconCacheService, transactionScreenConfigurationService: TransactionScreenConfigurationService, dictionaryService: DictionaryService, imageService: TransactionImageService, changeDetector: ChangeDetectorRef, dialogService: TransactionDialogService, formMasterService: FormMasterService, relationService: TransactionRelationService);
    ngOnInit(): Promise<void>;
    ngOnDestroy(): Promise<void>;
    saveObjects(): Promise<void>;
    saveRelation(): Promise<boolean>;
    saveTransaction(): Promise<boolean>;
    protected setFormPristine(): void;
    protected setFormDirty(): void;
    private _askForSave;
}
