import { BoxProps } from '@chakra-ui/react'; import { AriaListBoxOptions } from '@react-aria/listbox'; import React from 'react'; import { ListState } from 'react-stately'; export { Item as SelectItem } from 'react-stately'; /** * A listbox component. * * This component is currently only thought to be used with the `InfoSelect` component. Usage outside of that is not documented, nor intended. */ declare const ListBox: React.ForwardRefExoticComponent & { listBoxRef?: React.RefObject | undefined; state: ListState; } & BoxProps & React.RefAttributes>; /** * Renders a label for a SelectItem. * * Useful if you want to render a custom SelectItem - especially if it has a description. */ declare function SelectItemLabel({ children }: { children: React.ReactNode; }): JSX.Element; /** * Renders a description for a SelectItem. * * Useful if you want to render a custom SelectItem with more than just a label. */ declare function SelectItemDescription({ children, }: { children: React.ReactNode; }): JSX.Element; export { ListBox, SelectItemDescription, SelectItemLabel };