export default ThemeProvider; declare class ThemeProvider extends React.Component { static propTypes: { /** * 自定义主题 */ theme: PropTypes.Validator; }; constructor(props: any); cache: string; state: { theme: any; }; uid: string; getMergedTheme: (theme: any) => any; componentWillReceiveProps(nextProps: any): void; componentWillUnmount: () => void; render(): JSX.Element; } import React from "react"; import PropTypes from "prop-types";