import { default as Color } from 'color';
import { AccountReport, COABalance, NestedAccountReport, ReportID, ReportIDPlusForecastID } from '@zeniai/client-epic-state';
import { CompareMode } from '../../../../common/compareMode';
import { AccountBalanceClickMeta, ElementMetadata, ReportTreeKind } from '../../../reportTreeTypes';
export interface Props {
    accountBalances: (COABalance | null)[];
    compareMode: Exclude<CompareMode, "off">;
    height: number;
    isActualVsForecastOn: boolean;
    isLastNode: boolean;
    isOpen: boolean;
    isSticky: boolean;
    reportId: ReportID | ReportIDPlusForecastID;
    treeNodeId: string;
    type: ReportTreeKind;
    account?: NestedAccountReport;
    backgroundColor?: Color;
    metadata?: ElementMetadata;
    onAccountBalanceClick?: (treeNodeId: string, account: AccountReport, balance: COABalance, meta?: AccountBalanceClickMeta) => void;
    onClick?: (treeNodeId: string) => void;
}
export default function SubAccountRow({ type, backgroundColor, isSticky, treeNodeId, height, accountBalances, isActualVsForecastOn, compareMode, metadata, isOpen, account, reportId, onAccountBalanceClick, onClick, }: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
