import * as React from "react";
export interface IMenuItem {
_id: string;
name: string;
title?: string;
canUse?: boolean;
sortNo?: number;
path?: string;
items?: IMenuItem[];
type?: "menu" | "permission";
}
/**
* name: 匹配权限菜单的name
* path: 匹配权限菜单的path
* all: all=true 匹配当前用户的所有权限, 包含但不限于当前页面中的权限; all=false 仅仅匹配当前页面中的权限
*/
export interface PermissionsProps extends React.SuspenseProps {
name?: string;
path?: string;
all?: boolean;
}
export declare function ignoreCaseEQ(a: string | undefined, b: string | undefined): boolean;
/**
* 无权限时 隐藏 子组件,
* 有权限时 显示 子组件
*
*
*
* @param param0
* @returns
*/
declare const Comp: React.FC;
export default Comp;