import React from 'react'; import { CaptchaVariants, Mode, TextAlign, TypographyVariants } from '../types'; type Props = { enabled?: boolean; 'site-key'?: string; enterprise?: boolean; action?: string; variant?: CaptchaVariants; textLabel?: string; textVariant?: TypographyVariants; textMode?: Mode; textAlign?: TextAlign; 'full-width'?: boolean; readOnly?: boolean; }; declare global { interface Window { onRecaptchaLoadCallback: () => void; } namespace React.JSX { interface IntrinsicElements { 'descope-recaptcha': React.DetailedHTMLProps, HTMLElement> & Props; } } } declare const Recaptcha: React.ForwardRefExoticComponent & React.RefAttributes>; export default Recaptcha;