import type React from 'react'; export interface RenderOptions { checked: boolean; } export interface BaseMenuItemType> { children?: T[]; } export interface MenuItemType { key: string; icon?: React.ReactNode; path?: string; redirect?: string; text?: string; visible?: boolean; render?: (options: RenderOptions) => React.ReactNode; children?: MenuItemType[]; style?: React.CSSProperties; } export declare function findSelectedMenuIndex>(path: string, menu: T[], key?: keyof MenuItemType): number[]; export declare function findSelectedMenuIndexTraverse>(path: string, menu: T[], key?: keyof MenuItemType): number[]; export declare function findSelectedMenuKey>(path: string, menu: MenuItemType[], key?: keyof MenuItemType): string[]; export declare function findSelectedMenu>(path: string, menu: T[], key?: keyof MenuItemType): T[];