import * as React from 'react';
export interface CaptchaProps {
    isReady: boolean;
    execute: (action: string) => Promise<string>;
}
interface Props {
    useRecaptcha?: boolean;
    recaptchaKey?: string;
    hostEnv?: string;
    children: (props: CaptchaProps) => React.ReactNode;
}
interface State {
    readonly isReady: boolean;
}
declare class ReCaptcha extends React.PureComponent<Props, State> {
    state: State;
    private script;
    private widget;
    componentDidMount(): void;
    componentWillUnmount(): void;
    render(): React.ReactNode;
    private loadScript;
    private onLoad;
    private executeCaptcha;
    private waitForReacptchaLoad;
}
declare const _default: import("react-redux").ConnectedComponent<typeof ReCaptcha, {
    ref?: React.LegacyRef<ReCaptcha> | undefined;
    children: (props: CaptchaProps) => React.ReactNode;
    key?: React.Key | null | undefined;
    context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
    store?: import("redux").Store | undefined;
}>;
export default _default;
