import { Entity, ID, RecommendationWithCOT, SupportedTransactionWithCOT } from '@zeniai/client-epic-state';
import { COTTrackingProps } from '../../../types/cotTracking';
import { CreatableAutoCompleteSingleSelectFieldValue } from '../../formElements/creatableAutoCompleteSingleSelectTitleField/CreatableAutoCompleteSingleSelectTitleField';
import { VendorSearchAutoComplete } from './transactionLineTypes';
export default function TransactionDetailHeader({ transaction, vendorDetailsSectionId, existingVendor, existingCustomer, selectedEntity, isCOTEnabled, vendorSearchAutoComplete, headerStyles, recommendationsWithCOT, cotTracking, isQuickViewMode, handleVendorRename, handleCustomerRename, openTooltipId, setOpenTooltipId, onTransactionTypeChangeToTransfer, menuPortalTarget, }: Readonly<{
    isCOTEnabled: boolean;
    transaction: SupportedTransactionWithCOT;
    vendorDetailsSectionId: string;
    vendorSearchAutoComplete: VendorSearchAutoComplete;
    cotTracking?: COTTrackingProps;
    currentVendorOption?: CreatableAutoCompleteSingleSelectFieldValue;
    existingCustomer?: {
        id: ID;
        name: string;
        qboId: ID;
    };
    existingVendor?: {
        id: ID;
        name: string;
        qboId: ID;
    };
    headerStyles?: React.CSSProperties;
    isQuickViewMode?: boolean;
    /**
     * Portal target for menus/popovers rendered inside the header (e.g. the
     * vendor dropdown). Mirrors the value computed in `TransactionDetailPage`
     * (`dropdownPortal ?? containerRef.current`) so the menu escapes the
     * page's stacking context and renders above the sticky table header
     * without per-call z-index overrides.
     */
    menuPortalTarget?: HTMLElement | null;
    openTooltipId?: ID;
    recommendationsWithCOT?: RecommendationWithCOT[];
    selectedEntity?: Entity;
    setOpenTooltipId: (tooltipId: ID | undefined) => void;
    handleCustomerRename?: (_newName: string) => void;
    handleVendorRename?: (_newName: string) => void;
    onTransactionTypeChangeToTransfer?: (transactionType: string) => void;
}>): import("react/jsx-runtime").JSX.Element;
