import { MultiSelectProps as MultiSelectProps$1, MultiSelectState } from './use-multiselect-state.js'; import { AriaButtonProps } from '@react-types/button'; import { AriaListBoxOptions } from '@react-aria/listbox'; import { HTMLAttributes, RefObject } from 'react'; import { ValidationResult } from '@react-types/shared'; import './use-multiselect-list-state.js'; import '@react-types/overlays'; import '@react-stately/menu'; import '@react-stately/form'; import '@react-stately/list'; type MultiSelectProps = MultiSelectProps$1; interface MultiSelectAria extends ValidationResult { /** Props for the label element. */ labelProps: HTMLAttributes; /** Props for the popup trigger element. */ triggerProps: AriaButtonProps; /** Props for the element representing the selected value. */ valueProps: HTMLAttributes; /** Props for the popup. */ menuProps: AriaListBoxOptions; /** Props for the select's description element, if any. */ descriptionProps: HTMLAttributes; /** Props for the select's error message element, if any. */ errorMessageProps: HTMLAttributes; } declare function useMultiSelect(props: MultiSelectProps, state: MultiSelectState, ref: RefObject): MultiSelectAria; export { type MultiSelectAria, type MultiSelectProps, useMultiSelect };