import type { MenuPath } from '@difizen/mana-core';
import type { Syringe } from '@difizen/mana-syringe';
import type { FC } from 'react';
import { MenuFactory } from './menu';
import type { Menu } from './menu';
import type { MenuItemRenderProps, MenuData } from './menu-protocol';
export interface MenuRenderProps {
    /**
     * menu 的路径
     */
    menuPath: MenuPath;
    /**
     * 传递已经存在的 menu 实例
     */
    menu?: Menu;
    /**
     * 参数
     * @description menu 传递的参数
     */
    data: MenuData;
    /**
     * 工厂函数
     * @description 获取 menu 实例的工厂函数，用于自定义
     */
    factory?: MenuFactory;
    render?: FC<MenuItemRenderProps>;
}
export declare const useChildContainer: () => Syringe.Container;
export declare const MenuRender: import("react").NamedExoticComponent<MenuRenderProps>;
//# sourceMappingURL=menu-render.d.ts.map