import type { ElementType } from "react"; import type { PopoverArrowOptions } from "../popover/popover-arrow.tsx"; import type { Props } from "../utils/types.ts"; import type { MenuStore } from "./menu-store.ts"; declare const TagName = "div"; type TagName = typeof TagName; /** * Returns props to create a `MenuArrow` component. * @see https://ariakit.com/components/menu * @example * ```jsx * const store = useMenuStore(); * const props = useMenuArrow({ store }); * Menu * * * * ``` */ export declare const useMenuArrow: import("../utils/types.ts").Hook<"div", MenuArrowOptions<"div">>; /** * Renders an arrow element inside a * [`Menu`](https://ariakit.com/reference/menu) component that points to its * [`MenuButton`](https://ariakit.com/reference/menu-button). * @see https://ariakit.com/components/menu * @example * ```jsx {4} * * Menu * * * * * ``` */ export declare const MenuArrow: (props: MenuArrowProps) => import("react").ReactElement>; export interface MenuArrowOptions extends PopoverArrowOptions { /** * Object returned by the * [`useMenuStore`](https://ariakit.com/reference/use-menu-store) hook. If not * provided, the closest [`Menu`](https://ariakit.com/reference/menu) or * [`MenuProvider`](https://ariakit.com/reference/menu-provider) components' * context will be used. */ store?: MenuStore; } export type MenuArrowProps = Props>; export {};