import type { HTMLAttributes, ComponentType } from 'react'; import React from 'react'; import type { FileIconSlot } from '@teambit/code'; import type { WidgetProps } from '@teambit/ui-foundation.ui.tree.tree-node'; import type { TreeNode } from '@teambit/design.ui.tree'; export type CodeCompareTreeProps = { currentFile?: string; fileIconSlot?: FileIconSlot; fileTree: string[]; drawerName: string; widgets?: ComponentType>[]; getHref?: (node: TreeNode) => string; onTreeNodeSelected?: (id: string, event?: React.MouseEvent) => void; open?: boolean; } & HTMLAttributes; export declare function CodeCompareTree({ currentFile, fileIconSlot, className, fileTree, drawerName, widgets, getHref, open, onTreeNodeSelected, }: CodeCompareTreeProps): React.JSX.Element;