import type { JSX, ValidComponent } from "@solidjs/web"; import type { BaseUIComponentProps, NonNativeButtonProps } from "../../internals/types.js"; export interface MenuItemState { /** Whether the item should ignore user interaction. */ disabled: boolean; /** Whether the item is currently highlighted (focus-visible). */ highlighted: boolean; } export interface MenuItemProps extends NonNativeButtonProps, Omit, "id"> { /** * Tag/component to render. Defaults to `"div"`. Replaces the * pre-spike `render` prop (axis G). */ as?: ValidComponent; id?: string | undefined; /** Text label used for typeahead matching. */ label?: string | undefined; /** Whether the item should ignore user interaction. @default false */ disabled?: boolean | undefined; /** Whether to close the menu on click. @default true */ closeOnClick?: boolean | undefined; } export declare function MenuItem(props: MenuItemProps): JSX.Element; //# sourceMappingURL=menu-item.d.ts.map