import React from 'react'; import type { LazyComponentProps } from './types'; interface LazyComponentState { visible: boolean; component?: React.ComponentType; } export declare class LazyComponent extends React.Component { static defaultProps: Partial; mounted: boolean; constructor(props: LazyComponentProps); componentDidMount(): void; componentWillUnmount(): void; handleVisibleChange: (visible: boolean) => void; render(): React.ReactNode; } /** * 很奇怪的问题,react-json-view import 有些情况下 mod.default 才是 esModule */ export declare function importLazyComponent(mod: any): any; export {};