import * as React from 'react'; import { IConsumer } from '../../provider/IConsumer'; import { IProps } from './IProps'; import { IState } from './IState'; declare class ReCaptchaV2 extends React.Component { static defaultProps: Pick; constructor(props: IProps & IConsumer); componentDidUpdate(): void; componentDidMount(): void; shouldRenderWidget(ref: React.RefObject, props: IProps & IConsumer): void; render(): JSX.Element; private successCallback; private expiredCallback; private errorCallback; } export { ReCaptchaV2, IProps };