import { TreeItemProps } from '@mui/x-tree-view';
import { ReactNode, Ref } from 'react';
import { AdditionalActionType } from './CTreeView';

export type StyledTreeItemProps = Omit<TreeItemProps, 'nodeId' | 'children'> & {
    bgColor?: string;
    bgColorForDarkMode?: string;
    color?: string;
    colorForDarkMode?: string;
    labelIcon?: ReactNode;
    icon?: ReactNode;
    labelInfo?: string;
    labelText: string;
    nodeId: number | string;
    disableBorderLeft?: boolean;
    disableAddAction?: boolean;
    disableDeleteAction?: boolean;
    onDelete?: (id: string) => void;
    onAddChild?: (id: string) => void;
    idFieldName?: string;
    children?: StyledTreeItemProps[];
    actions?: AdditionalActionType[] | ((item: any) => AdditionalActionType[]);
    additionalActions?: AdditionalActionType[] | ((item: any) => AdditionalActionType[]);
    useDraggable?: boolean;
    toggleExpand?: (id: string) => void;
    _parentId: string | null;
    ref?: Ref<HTMLElement>;
    onToggleSelect?: (id: string) => void;
};
export declare const StyledTreeItem: (props: StyledTreeItemProps) => import("react/jsx-runtime").JSX.Element;
