import { ReactNode, SetStateAction, Dispatch } from 'react'; type CaptchaContextProps = { getCaptchaToken: () => string | undefined; setCaptchaToken: Dispatch>; captchaAuthState: CaptchaAuthenticationState | undefined; setCaptchaAuthState: Dispatch>; engageCaptcha: ({ authMethod, onCaptchaSuccess, }: { authMethod: AuthMethod; onCaptchaSuccess: (captchaToken: string) => Promise; }) => void; }; export type AuthMethod = 'wallet' | 'email' | 'social' | 'phone'; interface CaptchaAuthenticationState { authMethod: AuthMethod; onCaptchaSuccess: (captchaToken: string) => Promise; } export declare const CaptchaContext: import("react").Context; export declare const CaptchaContextProvider: ({ children, }: { children: ReactNode; }) => JSX.Element; export declare const useCaptchaContext: () => CaptchaContextProps; export {};