import { type ComponentProps, type ForwardedRef, type HTMLAttributes, type ReactElement, type Ref, type UIEvent } from "react"; import type { ListBaseProps } from "./ListProps"; export interface ListboxContextProps extends Pick, "style" | "className" | "onScroll" | "id"> { borderless?: boolean; disabled?: boolean; disableFocus?: boolean; getItemId?: (index: number) => string; getItemHeight?: (index?: number) => number; itemToString?: (item: Item) => string; listRef?: Ref; } export interface ListboxProps extends HTMLAttributes { onScroll?: (evt: UIEvent) => void; } export interface ListScrollHandles { scrollToIndex: (itemIndex: number) => void; scrollToItem: (item: Item) => void; scrollTo: (scrollOffset: number) => void; } export declare const ListBase: (p: ListBaseProps & { ref?: ForwardedRef>; }) => ReactElement>;