import { ComponentArgs } from '@yamada-ui/core';
import { RefAttributes, ReactElement } from 'react';
import { MenuGroupProps } from './menu-group.mjs';

interface MenuOptionGroupOptions<Y extends string | string[] = string> {
    /**
     * The type of the menu option group.
     *
     * @default 'checkbox'
     */
    type?: "checkbox" | "radio";
    /**
     * The initial value of the menu item group.
     */
    defaultValue?: Y;
    /**
     * The value of the menu item group.
     */
    value?: Y;
    /**
     * The callback fired when any children checkbox is checked or unchecked.
     */
    onChange?: (value: Y) => void;
}
interface MenuOptionGroupProps<Y extends string | string[] = string> extends Omit<MenuGroupProps, keyof MenuOptionGroupOptions>, MenuOptionGroupOptions<Y> {
}
declare const MenuOptionGroup: {
    <Y extends string | string[] = string>(props: MenuOptionGroupProps<Y> & RefAttributes<HTMLDivElement>): ReactElement;
} & ComponentArgs;

export { MenuOptionGroup, type MenuOptionGroupProps };
