import type { ReactElement, HTMLAttributes, Ref } from "react";
import type SlMenuItemElement from "@shoelace-style/shoelace/dist/components/menu-item/menu-item.js";
export type { SlMenuItemElement };
export interface SlMenuItemProps extends HTMLAttributes {
ref?: Ref;
/**
* The type of menu item to render. To use `checked`, this value must be set to `checkbox`.
*/
type?: "normal" | "checkbox";
/**
* Draws the item in a checked state.
*/
checked?: boolean;
/**
* A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
*/
value?: string;
/**
* Draws the menu item in a loading state.
*/
loading?: boolean;
/**
* Draws the menu item in a disabled state, preventing selection.
*/
disabled?: boolean;
}
/**
* Menu items provide options for the user to pick from in a menu.
*/
export default function SlMenuItem(
props: SlMenuItemProps,
): ReactElement;