export default class Stub extends React.PureComponent { static propTypes: { children: PropTypes.Validator; }; constructor(props: any); constructor(props: any, context: any); render(): JSX.Element; } import React from "react"; import PropTypes from "prop-types";