import { type ComponentProps, type ReactNode } from 'react';
import { List } from '../../01-atoms';
import { MenuItem } from './MenuItem';
type MenuListProps = {
    orientation: ComponentProps<typeof List>['orientation'];
    menu: ({
        submenu?: MenuListProps['menu'];
    } & Omit<ComponentProps<typeof MenuItem>, 'toggle' | 'onClickToggle' | 'callback'>)[];
    level?: number;
    isToggle?: boolean;
    parentOpen?: boolean;
};
/**
 * MenuList component for rendering a list of menu items with optional submenus.
 *
 * @component
 * @example
 * // Example usage of MenuList component
 * <MenuList
 *   orientation="vertical"
 *   menu={[
 *     { text: 'Home', path: '/home' },
 *     { text: 'About', path: '/about', submenu: [{ text: 'Team', path: '/about/team' }] }
 *   ]}
 * />
 *
 * @param {Object} props - The properties of the MenuList component.
 * @param {'horizontal' | 'vertical'} props.orientation - The orientation of the menu.
 * @param {Array<Object>} props.menu - The menu items to be displayed.
 * @param {string} props.menu.text - The text to display for the menu item.
 * @param {string} props.menu.path - The URL path the menu item links to.
 * @param {Array<Object>} [props.menu.submenu] - Optional submenu items.
 * @param {number} [props.level=1] - The nesting level of the menu.
 * @param {boolean} [props.isToggle=false] - Whether the menu items have toggle functionality.
 *
 * @returns {ReactNode} The rendered MenuList component.
 */
export declare function MenuList({ menu, orientation, level, isToggle, parentOpen, }: MenuListProps): ReactNode;
export {};
//# sourceMappingURL=MenuList.d.ts.map