import type { ElementType } from "react"; import type { DisclosureContentOptions } from "../disclosure/disclosure-content.tsx"; import type { Options, Props } from "../utils/types.ts"; import type { ComboboxStore } from "./combobox-store.ts"; declare const TagName = "div"; type TagName = typeof TagName; /** * Returns props to create a `ComboboxList` component. * @see https://ariakit.com/components/combobox * @example * ```jsx * const store = useComboboxStore(); * const props = useComboboxList({ store }); * * * * * * ``` */ export declare const useComboboxList: import("../utils/types.ts").Hook<"div", ComboboxListOptions<"div">>; /** * Renders a combobox list. The `role` prop is set to `listbox` by default, but * can be overriden by any other valid combobox popup role (`listbox`, `menu`, * `tree`, `grid` or `dialog`). * @see https://ariakit.com/components/combobox * @example * ```jsx {3-7} * * * * * * * * * ``` */ export declare const ComboboxList: (props: ComboboxListProps) => import("react").ReactElement>; export interface ComboboxListOptions extends Options, Pick, "alwaysVisible"> { /** * Object returned by the * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store) * hook. If not provided, the closest * [`ComboboxProvider`](https://ariakit.com/reference/combobox-provider) * component's context will be used. */ store?: ComboboxStore; } export type ComboboxListProps = Props>; export {};