import { AccountBase, Amount, ClassBase, FetchStateAndError, ID, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project, RecommendationWithCOTByLineId, TransactionType, TransactionWithCOT, UncategorizedAccounts, ZeniDate } from '@zeniai/client-epic-state';
import { COTTrackingProps } from '../../../types/cotTracking';
import { DisableMode } from '../../formElements/common/common';
import { LineInfo, SearchAutoComplete } from '../common';
export interface TransactionDetailContentFormData {
    lineInfo: [
        {
            category: AccountBase;
            class: ClassBase;
            description: string;
            name: string;
        }
    ];
    memo: string;
}
export type FormDataKeys = keyof TransactionDetailContentFormData;
export declare const uniqueName: (sectionId: string, fieldKey: string, lineId?: string) => string;
export type FormDataKeyUniqueNames = ReturnType<typeof uniqueName>;
export declare const LineTitleItem: ({ title, amount, sectionId, lineIndex, isDisabled, isTransactionCommentingEnabled, entityId, }: {
    amount: Amount;
    lineId: string;
    lineIndex: number;
    sectionId: string;
    title: string;
    entityId?: ID;
    isDisabled?: DisableMode;
    isTransactionCommentingEnabled?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
export default function TransactionLineWithAccountAndClass({ accountList, accountsHierarchyList, classHierarchyList, classList, projects, sectionId, lineItemLocalData, isAccountAndClassNonEditable, isAccountingClassesEnabled, isAccountingProjectsEnabled, isProjectsTransactionsEnabled, lineIndex, lineId, isCOTEnabled, lineRecommendation, bookCloseDate, containerRef, searchAutoComplete, transaction, uncategorizedAccounts, transactionType, vendorName, isDisabled, cotTracking, openTooltipId, setOpenTooltipId, isUncategorizedExpenseCategoryEnabled, isTransactionCommentingEnabled, entityId, categoryClassRecommendationsFetchState, }: Readonly<{
    accountList: AccountBase[];
    accountsHierarchyList: NestedAccountHierarchyForReport[];
    classHierarchyList: NestedClassHierarchyForReport[];
    classList: ClassBase[];
    containerRef: HTMLElement | null;
    isAccountingClassesEnabled: boolean;
    isAccountingProjectsEnabled: boolean;
    isCOTEnabled: boolean;
    isProjectsTransactionsEnabled: boolean;
    lineId: ID;
    lineIndex: number;
    lineItemLocalData: LineInfo;
    projects: Project[];
    sectionId: string;
    transaction: TransactionWithCOT;
    bookCloseDate?: ZeniDate;
    categoryClassRecommendationsFetchState?: FetchStateAndError;
    cotTracking?: COTTrackingProps;
    entityId?: ID;
    isAccountAndClassNonEditable?: boolean;
    isDisabled?: DisableMode;
    isTransactionCommentingEnabled?: boolean;
    isUncategorizedExpenseCategoryEnabled?: boolean;
    lineRecommendation?: RecommendationWithCOTByLineId;
    openTooltipId?: ID;
    searchAutoComplete?: SearchAutoComplete;
    transactionType?: TransactionType;
    uncategorizedAccounts?: UncategorizedAccounts;
    vendorName?: string;
    setOpenTooltipId: (tooltipId: ID | undefined) => void;
}>): import("react/jsx-runtime").JSX.Element;
