import React from 'react'; import './index.css'; import { BlockMenu, Level2Menu } from "../tmpl/interface"; import { LocaleContext } from "../locale/LocaleProvider"; interface BlockMenuAuthTreeProps { checks: string[]; onChange: (checkeds: string[]) => void; } interface BlockMenuAuthTreeState { treeData?: Object[]; loading?: boolean; } declare class BlockMenuAuthTree extends React.PureComponent { static defaultProps: { checkeds: any[]; }; treekeyAuthId: {}; authIdtreekeys: {}; static contextType: React.Context<{ locale: import("../locale/langMp").LocaleType; langPkg: any; availableLang: string[]; changeLocale: (locale: import("../locale/langMp").LocaleType) => void; siderCollapsed: boolean; changeSiderCollapsed: () => void; t: (...strs: string[]) => string; translate: (...strs: string[]) => string; getServiceLangStr?: () => string; compactTheme?: boolean; changeCompactTheme?: () => void; screenfull?: boolean; changeScreenfull?: () => void; }>; context: React.ContextType; state: { treeData: any; loading: boolean; }; componentDidMount(): Promise; componentDidUpdate(prevProps: any, prevState: any): Promise; componentWillUnmount(): Promise; initData: () => Promise; toTreeNode: (blockMenus: (BlockMenu | Level2Menu)[]) => Object[]; onCheck: (checkedKeys: any, e: any) => void; refresh(): Promise; renderTitle: (nodeData: any) => React.JSX.Element; render(): React.JSX.Element; } export default BlockMenuAuthTree; //# sourceMappingURL=block-menu-auth-tree.d.ts.map