import { EventEmitter, OnInit } from '@angular/core';
import { AppPopupButtonType } from '../../../core/enum/app-popup-button-type.enum';
import { TransactionKind } from '@colijnit/transactionapi/build/enum/transaction-kind.enum';
import { DialogBaseComponent } from '../../../core/base/dialog-base.component';
import { Icon } from '../../../../enum/icon.enum';
import { IconCacheService } from '../../../../service/icon-cache.service';
import { TransactionHeaderService } from '../../../core/base/service/transaction-header.service';
import { TransactionLineService } from '../../../core/base/service/transaction-line.service';
import { TransactionLineInfo } from '@colijnit/transactionapi/build/model/transaction-line-info.bo';
import { TransactionLineWarehouseCcDirectsellComponent } from './component/transaction-line-warehouse-cc-directsell.component';
import { TransactionLineWarehouseCcGeneralComponent } from './component/transaction-line-warehouse-cc-general.component';
import { TransactionLineWarehouseCcInterbranchComponent } from './component/transaction-line-warehouse-cc-interbranch.component';
import { SupplierLightObject } from '@colijnit/relationapi/build/model/supplier-light-object.bo';
import { TransactionInfo } from '@colijnit/transactionapi/build/model/transaction-info.bo';
export declare enum WarehouseCCTab {
    General = 0,
    DirectSell = 1,
    InterBranch = 2
}
export declare class DialogTransactionLineWarehouseCcComponent extends DialogBaseComponent implements OnInit {
    iconCacheService: IconCacheService;
    transactionHeaderService: TransactionHeaderService;
    transactionLineService: TransactionLineService;
    readonly icons: typeof Icon;
    readonly tab: typeof WarehouseCCTab;
    readonly buttonType: typeof AppPopupButtonType;
    general: TransactionLineWarehouseCcGeneralComponent;
    directSell: TransactionLineWarehouseCcDirectsellComponent;
    interBranch: TransactionLineWarehouseCcInterbranchComponent;
    transactionKind: TransactionKind;
    close: EventEmitter<MouseEvent>;
    showClass(): boolean;
    activeTab: WarehouseCCTab;
    decimals: number;
    quantity: number;
    commissionCode: string;
    warehouse: number;
    interbranchWarehouse: number;
    interBranchSourceWarehouse: number;
    transactionInfo: TransactionInfo;
    transactionLine: TransactionLineInfo;
    reason: string;
    showDirectSell: boolean;
    directSellSupplier: SupplierLightObject;
    directSellPurchaseOrderNumber: number;
    stockForecastDeliveryDate: Date;
    constructor(iconCacheService: IconCacheService, transactionHeaderService: TransactionHeaderService, transactionLineService: TransactionLineService);
    ngOnInit(): Promise<void>;
    handleQuantityChange(value: any): void;
    handleCommissionCodeChange(value: any): void;
    handleWarehouseChange(value: any): void;
    handleInterbranchWarehouseChange(value: any): void;
    handleOkClick(): void;
    handleClose(type: AppPopupButtonType): void;
    showTab(tab: WarehouseCCTab): void;
    checkWarehouseForTabSwitch(tab: WarehouseCCTab): void;
    handleCloseDialog(event: MouseEvent, type: AppPopupButtonType): void;
    private _activeTabValid;
    private _scrollIntoView;
}
