import { OnDestroy } from '@angular/core';
import { TransactionConnectorService } from './transaction-connector.service';
import { OrderConfirmationAnalysisResult } from '@colijnit/transactionapi/build/model/order-confirmation-analysis-result.bo';
import { BehaviorSubject, Observable, Subject } from 'rxjs';
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
import { TransactionEventService } from './transaction-event.service';
import { AnalyzedOrderConfirmation } from '@colijnit/transactionapi/build/model/analyzed-order-confirmation.bo';
import { TransactionLineViewModel } from '../model/transaction-line-view-model';
export declare class PurchaseConfirmationService implements OnDestroy {
    private _transactionConnectorService;
    private _transactionEventService;
    confirmationNeeded: BehaviorSubject<boolean>;
    confirmationFinished: Subject<void>;
    set transactionLines(value: TransactionLineInfo[]);
    get transactionLines(): TransactionLineInfo[];
    set confirmationAnalysisId(value: number);
    get confirmationAnalysisId(): number;
    setOrdersTotal(value: number): void;
    confirmationAnalysisResult: OrderConfirmationAnalysisResult[];
    analyzedConfirmation: AnalyzedOrderConfirmation;
    ordersTotal: BehaviorSubject<number>;
    ordersTotalObservable: Observable<number>;
    transactionLinesViewModels: TransactionLineViewModel[];
    private _confirmationAnalysisId;
    private _transactionLines;
    private _subs;
    constructor(_transactionConnectorService: TransactionConnectorService, _transactionEventService: TransactionEventService);
    ngOnDestroy(): void;
    reset(): void;
    linkAnalysisToTransactionLine(transactionLine: TransactionLineInfo, analysis: OrderConfirmationAnalysisResult): void;
    private _handleSetAnalysisId;
    private _getConfirmationAnalysisById;
    private _getAnalyzedOrderConfirmationById;
    private _updateViewModels;
    private _prepareViewModels;
}
