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'; export type CodeCompareViewProps = { fileName: string; files: string[]; onTabClicked?: (id: string, event?: React.MouseEvent) => void; getHref: (node: { id: string; }) => string; fileIconSlot?: FileIconSlot; widgets?: ComponentType>[]; } & HTMLAttributes; export declare function CodeCompareViewLoader({ className, ...rest }: React.HTMLAttributes): React.JSX.Element; export declare function CodeCompareView({ className, fileName, files, onTabClicked, getHref, fileIconSlot, widgets, }: CodeCompareViewProps): React.JSX.Element;