import type { ListChildComponentProps } from "react-window"; import type { ListItemProps } from "./ListItem"; import type { ListItemBaseProps } from "./ListItemBase"; type UseItemHookReturnType = { /** * Item data */ item: Item; /** * Utility function for converting item data to a string */ itemToString: (item: Item) => string; /** * Properties applied to a basic list item component */ itemProps: ListItemBaseProps; }; export interface IndexedListItemProps extends ListItemProps { ariaProps?: { role?: string; "aria-disabled"?: string; "aria-checked"?: string; "aria-posinset"?: number; "aria-setsize"?: number; }; index: number; itemHeight?: number | string; } export declare function useListItem(props: IndexedListItemProps): UseItemHookReturnType; type VirtualizedListItemProps = Pick; export declare const useVirtualizedListItem: (props: VirtualizedListItemProps) => UseItemHookReturnType; export {};