/// <reference types="react" />
import { ViewController } from '../lib/ctr';
export interface MenuInfo {
    icon?: string;
    title: string;
    go?: string;
    bold?: boolean | number;
    selected?: boolean | number;
    expanded?: boolean | number;
    num?: number;
    children?: (MenuInfo | string)[];
}
export default class Menu extends ViewController {
    private m_UnregisterCallback;
    state: {
        pathname: string;
    };
    constructor(props: any);
    protected reloadNifty(): void;
    setState(state: any): void;
    get pathname(): string;
    triggerLoad(): void;
    triggerRemove(): void;
    private _renderMenuList;
    render(): JSX.Element;
    renderMain(): (MenuInfo | string)[];
    renderProfile(): any;
    renderShortcut(): any;
    renderWidget(): any;
}
