import { EventEmitter, OnInit } from '@angular/core';
import { FormMasterService } from '@colijnit/corecomponents_v12';
import { ArticleExtended } from "@colijnit/articleapi/build/model/article-extended.bo";
import { TransactionLineInfo } from "@colijnit/transactionapi/build/model/transaction-line-info.bo";
import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
import { DictionaryService } from "../../../service/dictionary.service";
import { TransactionImageService } from "../../../service/transaction-image.service";
import { TransactionLineSearchIndex } from "@colijnit/transactionapi/build/model/transaction-line-search-index.bo";
import { TransactionService } from "../../../service/transaction.service";
import { Relation } from "@colijnit/relationapi/build/model/relation.bo";
import { TransactionSearchService } from "../../transaction-search/service/transaction-search.service";
export declare class ServiceWizardArtOrTransComponent implements OnInit {
    protected formMasterService: FormMasterService;
    protected dictionaryService: DictionaryService;
    protected transactionService: TransactionService;
    protected transactionSearchService: TransactionSearchService;
    protected imageService: TransactionImageService;
    showClass(): boolean;
    forceReadonly: boolean;
    relation: Relation;
    oldOrderId: string;
    oldGoodId: string;
    customerPortal: boolean;
    set existingTransaction(response: TransactionInfoResponse);
    get existingTransaction(): TransactionInfoResponse;
    existingTransactionLine: TransactionLineInfo;
    buttonsVisible: boolean;
    transLineChosen: EventEmitter<TransactionLineSearchIndex>;
    articleChosen: EventEmitter<ArticleExtended>;
    oldOrderIdChange: EventEmitter<string>;
    oldGoodIdChange: EventEmitter<string>;
    createViaTransLine: boolean;
    createViaProduct: boolean;
    createViaOldTrans: boolean;
    showTransLinePopup: boolean;
    set chosenTransactionLine(response: TransactionLineSearchIndex);
    get chosenTransactionLine(): TransactionLineSearchIndex;
    existingTransactionTitleText: string;
    transactionImage: string;
    showCatalogPopup: boolean;
    catalogOptions: any;
    catalogParameters: any;
    chosenArticle: ArticleExtended;
    goodId: number;
    private _chosenTransactionLine;
    private _existingTransaction;
    constructor(formMasterService: FormMasterService, dictionaryService: DictionaryService, transactionService: TransactionService, transactionSearchService: TransactionSearchService, imageService: TransactionImageService);
    ngOnInit(): Promise<void>;
    submit(): boolean;
    clear(): void;
    openCatalogPopUp(): void;
    openTransactionPopUp(): void;
    closeTransactionPopup(): void;
    handleCatalogArticleClick(article: ArticleExtended): void;
    handleTransactinLineClick(line: TransactionLineSearchIndex): void;
    createOrderWithTransactionLineClicked(openSearch?: boolean): void;
    createOrderWithArticleClicked(): void;
    createOrderFromOldTrans(): void;
    private _prepareCatalogRequest;
    private setTransactionLabel;
    private setTransactionLineImage;
}
