/** biome-ignore-all lint/correctness/useHookAtTopLevel: biome doesn't recognise the component correctly */ import { type ForwardedRef, type ReactElement } from "react"; import { type ListItemBaseProps } from "./ListItemBase"; export interface ListItemProps extends Omit { item?: Item; itemToString?: (item: Item) => string; } type GenericListItem = (p: ListItemProps & { ref?: ForwardedRef; }) => ReactElement>; declare const _ListItem: GenericListItem; export { _ListItem as ListItem };