import { Component } from 'solid-js'; import { WidgetOptions, WidgetApi } from '@captchafox/types'; type CaptchaFoxInstance = Omit; type Ref = T | ((el: T) => void) | undefined; type CaptchaFoxProps = WidgetOptions & { /** Called after the widget has been loaded */ onLoad?: () => void; className?: string; ref?: Ref; nonce?: string; }; declare const CaptchaFox: Component; declare const CAPTCHA_RESPONSE_KEY = "cf-captcha-response"; export { CAPTCHA_RESPONSE_KEY, CaptchaFox, type CaptchaFoxInstance };