import React from "react"; import { BlockMenu } from "../../tmpl/interface"; import { LocaleContext } from "../../locale/LocaleProvider"; import "./block.css"; export interface BlockProps { blocks: BlockMenu[]; currentBlockId?: string; currentL2MenuId?: string; activeColor?: string; } interface BlockState { } declare class Block extends React.PureComponent { 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; constructor(props: any); getSubMenu: (blockMenu: BlockMenu) => import("antd/es/menu/interface").ItemType[]; findBlockId: (blocks: BlockMenu[], currentL2MenuId: string) => string; get computedBlocks(): BlockMenu[]; get menuItems(): import("antd/es/menu/interface").ItemType[]; getDefaultIndexPath(menuItem: any): any; render(): React.JSX.Element; } export default Block; //# sourceMappingURL=block.d.ts.map