import { ListValueType } from '../ListControl'; import type { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities'; import type { ListField, ValueOrNestedValue, WidgetControlProps } from '@staticcms/core'; import type { FC, MouseEvent } from 'react'; interface ListItemProps extends Pick, 'entry' | 'field' | 'fieldsErrors' | 'submitted' | 'disabled' | 'duplicate' | 'locale' | 'path' | 'value' | 'i18n'> { valueType: ListValueType.MIXED | ListValueType.MULTIPLE; index: number; id: string; listeners: SyntheticListenerMap | undefined; handleRemove: (index: number, event: MouseEvent) => void; } declare const ListItem: FC; export default ListItem;