import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
import { PaymentViewmodel } from '../../../model/payment.viewmodel';
import { TransactionCashRegisterPaymentState } from './transaction-cash-register-payment-state.enum';
import { TransactionPaymentConnectorService } from '../../../service/transaction-payment-connector.service';
import { TransactionService } from '../../../service/transaction.service';
import { TransactionEventService } from '../../../service/transaction-event.service';
import { TransactionPaymentBaseComponent } from '../../core/base/transaction-payment-base.component';
import { IconCacheService } from '../../../service/icon-cache.service';
import { TransactionPaymentService } from '../../../service/transaction-payment.service';
import { RelationAnyType } from '@colijnit/relationapi/build/model/relation-any-type';
import { Voucher } from '@colijnit/transactionapi/build/model/voucher.bo';
export declare class TransactionCashRegisterPaymentDialogComponent extends TransactionPaymentBaseComponent implements OnInit {
    protected transactionService: TransactionService;
    protected paymentConnectorService: TransactionPaymentConnectorService;
    protected transactionEventService: TransactionEventService;
    protected changeDetector: ChangeDetectorRef;
    paymentService: TransactionPaymentService;
    iconCacheService: IconCacheService;
    readonly paymentStates: typeof TransactionCashRegisterPaymentState;
    showVoucherPopup: boolean;
    relation: RelationAnyType;
    voucher: Voucher;
    transactionNr: number;
    set paymentViewModel(paymentViewModel: PaymentViewmodel);
    closeDialog: EventEmitter<void>;
    posOrderPayed: EventEmitter<void>;
    showClass: boolean;
    currentDate: Date;
    paymentDone: boolean;
    amountPayed: number;
    paymentState: TransactionCashRegisterPaymentState;
    transactionSaved: boolean;
    paymentDescription: string;
    private _paymentViewModel;
    constructor(transactionService: TransactionService, paymentConnectorService: TransactionPaymentConnectorService, transactionEventService: TransactionEventService, changeDetector: ChangeDetectorRef, paymentService: TransactionPaymentService, iconCacheService: IconCacheService);
    ngOnInit(): Promise<void>;
    changePaymentMethodClicked(): void;
    handleChangePaymentMethod(paymentViewModel: PaymentViewmodel): void;
    handleKeyPadModelChange(model: number): void;
    handlePayed(): Promise<void>;
    handleCloseDialog(): void;
    private _changePaymentState;
    handleVoucherValidated(voucher: Voucher): void;
    handleVoucherPopupClose(): void;
}
