import { StyledTreeItemProps } from './CTreeItem';

declare module 'react' {
    interface CSSProperties {
        '--tree-view-color'?: string;
        '--tree-view-bg-color'?: string;
    }
}
export type AdditionalActionType = {
    action: (nodeId: string | number, e: any) => void;
    icon: string;
    tooltip: string;
    label: string;
    disabled?: boolean;
};
export type AdditionalActionGenType = AdditionalActionType[] | ((item: any) => AdditionalActionType[]);
export type CTreeViewProps = {
    items: StyledTreeItemProps[];
    actions?: AdditionalActionGenType;
    additionalActions?: AdditionalActionGenType;
    selectedItems?: string[];
    onToggleSelect?: (id: string, e: any) => void;
    onDragDrop?: (event: any, draggedItem: any, droppedItem: any) => void;
    onDragging?: (event: any, active: boolean, draggedItem: any) => void;
    expandedItems?: string[];
    defaultExpanded?: string[];
    onToggleExpand?: (id: string, e?: any) => void;
    enableNullSelection?: boolean;
    disableItemsFocusable?: boolean;
    maxWidth?: number;
    width?: number;
};
export declare const CTreeView: (props: CTreeViewProps) => import("react/jsx-runtime").JSX.Element;
