import { Ref, ReactElement } from 'react'; import { VisibleState, Option } from '../../types/index.mjs'; import { InputProps } from '../input/input.mjs'; import { PopperContentProps } from '../popper/popper.mjs'; import 'tailwind-variants'; import 'tailwind-variants/dist/config'; import '@radix-ui/react-popper'; type TValue = T extends true ? string[] : string; interface AutocompleteProps extends Omit, VisibleState { options: Option[]; value?: TValue; defaultValue?: TValue; onValueChange?: (value: TValue) => void; onInputChange?: (value: string) => void; loading?: boolean; disabled?: boolean; allowsCustomValue?: boolean; clearable?: boolean; placeholder?: string; name?: string; multiple?: T; popperProps?: PopperContentProps; listOptionClassName?: string; } declare const Autocomplete: (p: AutocompleteProps & { ref?: Ref | undefined; }) => ReactElement; export { Autocomplete, type AutocompleteProps };