import { FunctionComponent, ReactNode, RefObject } from 'react';
import { ExecuteRecaptcha } from './useExecuteReCaptcha';
type ContextType = {
    executeRecaptcha: ExecuteRecaptcha;
    injectScript: RefObject<null | (() => void)>;
};
export declare const Context: import("react").Context<ContextType | null>;
export type ScriptProps = {
    nonce?: string;
    defer?: boolean;
    async?: boolean;
    appendTo?: 'head' | 'body';
    id?: string;
};
export declare const defaultScriptId = "rusted_labs_react_recaptcha_v3";
export type Props = Readonly<{
    siteKey: string | null;
    children: ReactNode;
    useRecaptchaNet?: boolean;
    enterprise?: boolean;
    scriptProps?: ScriptProps;
    injectionDelay?: number;
}>;
declare const ReCaptchaProvider: FunctionComponent<Props>;
export default ReCaptchaProvider;
