import * as React from 'react'; interface IGoogleReCaptchaProviderProps { reCaptchaKey?: string; language?: string; } export interface IGoogleReCaptchaConsumerProps { executeRecaptcha?: (action?: string) => Promise; } declare const GoogleReCaptchaContext: React.Context; declare const GoogleReCaptchaConsumer: React.ExoticComponent>; export { GoogleReCaptchaConsumer, GoogleReCaptchaContext }; export declare class GoogleReCaptchaProvider extends React.Component { scriptId: string; googleRecaptchaSrc: string; resolver: any; rejecter: any; grecaptcha: Promise; componentDidMount(): void; componentDidUpdate(prevProps: IGoogleReCaptchaProviderProps): void; readonly googleReCaptchaContextValue: { executeRecaptcha: (action?: string | undefined) => Promise; }; executeRecaptcha: (action?: string | undefined) => Promise; handleOnLoad: () => void; injectGoogleReCaptchaScript: () => void; render(): JSX.Element; } //# sourceMappingURL=google-recaptcha-provider.d.ts.map