import type { ElementType } from "react"; import type { CheckboxCheckOptions } from "../checkbox/checkbox-check.tsx"; import type { Props } from "../utils/types.ts"; import type { MenuStore } from "./menu-store.ts"; declare const TagName = "span"; type TagName = typeof TagName; /** * Returns props to create a `MenuItemCheck` component. * @see https://ariakit.com/components/menu * @example * ```jsx * const props = useMenuItemCheck({ checked: true }); * * ``` */ export declare const useMenuItemCheck: import("../utils/types.ts").Hook<"span", MenuItemCheckOptions<"span">>; /** * Renders a checkmark icon when the * [`checked`](https://ariakit.com/reference/menu-item-check#checked) prop is * `true`. The icon can be overridden by providing a different one as children. * * When rendered inside * [`MenuItemCheckbox`](https://ariakit.com/reference/menu-item-checkbox) or * [`MenuItemRadio`](https://ariakit.com/reference/menu-item-radio) components, * the [`checked`](https://ariakit.com/reference/menu-item-check#checked) prop * is automatically derived from the context. * @see https://ariakit.com/components/menu * @example * ```jsx {5,9} * * Fruits * * * * Apple * * * * Orange * * * * ``` */ export declare const MenuItemCheck: (props: MenuItemCheckProps) => import("react").ReactElement>; export interface MenuItemCheckOptions extends Omit, "store"> { /** * Object returned by the * [`useMenuStore`](https://ariakit.com/reference/use-menu-store) hook. */ store?: MenuStore; } export type MenuItemCheckProps = Props>; export {};