import type { ElementType } from "react"; import type { CompositeRowOptions } from "../composite/composite-row.tsx"; import type { 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 `ComboboxRow` component. * @see https://ariakit.com/components/combobox * @example * ```jsx * const store = useComboboxStore(); * const props = useComboboxRow({ store }); * * * * * * * * ``` */ export declare const useComboboxRow: import("../utils/types.ts").Hook<"div", ComboboxRowOptions<"div">>; /** * Renders a combobox row that allows two-dimensional arrow key navigation. * [`ComboboxItem`](https://ariakit.com/reference/combobox-item) elements * wrapped within this component will automatically receive a * [`rowId`](https://ariakit.com/reference/combobox-item#rowid) prop. * @see https://ariakit.com/components/combobox * @example * ```jsx {4-13} * * * * * * * * * * * * * * * * ``` */ export declare const ComboboxRow: (props: ComboboxRowProps) => import("react").ReactElement>; export interface ComboboxRowOptions extends CompositeRowOptions { /** * Object returned by the * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store) * hook. If not provided, the closest * [`ComboboxList`](https://ariakit.com/reference/combobox-list) or * [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover) * components' context will be used. */ store?: ComboboxStore; } export type ComboboxRowProps = Props>; export {};