import { EventEmitter, OnDestroy } from '@angular/core';
import { CustomerFullObject } from '@colijnit/relationapi/build/model/customer-full-object.bo';
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
import { RelationKind } from '@colijnit/relationapi/build/enum/relation-kind.enum';
import { RelationSuggestionsRequest } from '../../interface/relation-suggestions-request.interface';
import { TransactionCfgName } from '../../enum/transaction-cfg-name.enum';
import { TransactionRelationService } from '../../service/transaction-relation.service';
import { TransactionService } from '../../service/transaction.service';
export declare abstract class RelationBaseComponent implements OnDestroy {
    transactionService: TransactionService;
    protected relationService: TransactionRelationService;
    readonly relKind: typeof RelationKind;
    readonly cfgNames: typeof TransactionCfgName;
    set relation(value: RelationAnyType);
    get relation(): RelationAnyType;
    relationChange: EventEmitter<RelationAnyType>;
    inputChangeForSuggestions: EventEmitter<RelationSuggestionsRequest>;
    get relationAsCustomer(): CustomerFullObject;
    private _relation;
    private _subs;
    protected suggestionRequest: RelationSuggestionsRequest;
    constructor(transactionService: TransactionService, relationService: TransactionRelationService);
    ngOnDestroy(): void;
    handleRelationChange(relation: RelationAnyType): void;
    protected relationSet(): void;
}
