import type { ReactElement, RefObject } from "react"; import { type FlattenedListItem, type ListItemsByCategory, type CategoryListProps } from "./CategoryList"; import { type PortalProps } from "../Portal/Portal"; import type { PromptTextAreaProps } from "./PromptTextArea"; export type AutocompleteListProps = { autocompleteListItems?: ListItemsByCategory[]; triggerRef: RefObject; selectedListItem?: FlattenedListItem; isOpen: boolean; autocompleteListFooter?: ReactElement; } & Pick & Pick & Pick; export declare function getAutocompleteListId(name: string): string; export declare function AutocompleteList({ name, value, autocompleteListItems, triggerRef, portalContainer, selectedListItem, isOpen, autocompleteListFooter, onListItemClick, }: AutocompleteListProps): ReactElement;