import React, { ReactElement } from 'react'; import { DOMAttributes, FocusableElement } from '@react-types/shared'; import { OverlayTriggerState } from 'react-stately'; import { ResourceSources } from '../Icons/Icon'; interface ResourceItem { item: T; selected?: boolean; label: string; type: string; childCount?: number; previewModalState: OverlayTriggerState; onSelect: (node: T, overlayProps: DOMAttributes) => void; onDrillDown?: (node: T) => void; className: string; allowedTypes?: string[] | undefined; componentIcon?: ReactElement | undefined; iconSource?: ResourceSources; showChevron?: boolean; id?: string; } declare const ResourceItem: ({ item, selected, label, type, childCount, previewModalState, onSelect, onDrillDown, className, allowedTypes, componentIcon, iconSource, showChevron, id, }: ResourceItem) => React.JSX.Element; export { ResourceItem };