import { ApplicationRef, ComponentFactoryResolver, ComponentRef, Injector } from '@angular/core';
import { TransactionLineCharacteristicChoice } from '@colijnit/transactionapi/build/model/transactionLineCharacteristicChoice.bo';
import { DynamicComponentService } from './dynamic-component.service';
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
import { DialogResponseInterface } from '../interface/dialog-response.interface';
import { ToastComponent } from '../component/toast/toast.component';
import { TransactionInfoResponse } from '@colijnit/transactionapi/build/model/transaction-info-response.bo';
import { DictionaryService } from './dictionary.service';
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
export declare class TransactionDialogService {
    private _compFactoryResolver;
    private appRef;
    private injector;
    private dynamicComponentService;
    private _dictionaryService;
    toasts: ComponentRef<ToastComponent>[];
    private _componentRefs;
    constructor(_compFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector, dynamicComponentService: DynamicComponentService, _dictionaryService: DictionaryService);
    showYesNo(title: string, text: string, showRememberChoice?: boolean): Promise<DialogResponseInterface>;
    showError(message: string, localize: boolean, details?: string): Promise<any>;
    showInformation(message: string, localize: boolean): Promise<any>;
    showCharacteristics(title: string, choices: TransactionLineCharacteristicChoice[], value: string): Promise<DialogResponseInterface>;
    showVoucherCode(pendingReason: string): Promise<DialogResponseInterface>;
    showWarehouseCC(transaction: TransactionInfo, transactionLine: TransactionLineInfo, decimals: number, quantity: number, commissionCode: string, warehouse: number, showDirectSell: boolean, reason: string): Promise<DialogResponseInterface>;
    showBranch(): Promise<DialogResponseInterface>;
    showWarehouseLocation(warehouseNr: number, useModel?: boolean, autoClose?: boolean, showClose?: boolean, transactionLine?: TransactionLineInfo): Promise<DialogResponseInterface>;
    showToast(text: string, localize: boolean): Promise<void>;
    hideToastAfterMs(ms?: number): void;
    showReprintCashRegisterReceiptPopup(currentTransaction: TransactionInfoResponse): Promise<DialogResponseInterface>;
}
