import type { CaptchaProvider, CaptchaWidgetType } from '@clerk/shared/types'; export type CaptchaOptions = { action?: 'verify' | 'signin' | 'signup' | 'heartbeat'; captchaProvider: CaptchaProvider; closeModal?: () => Promise; invisibleSiteKey: string; modalContainerQuerySelector?: string; modalWrapperQuerySelector?: string; nonce?: string; openModal?: () => Promise; siteKey: string; widgetType: CaptchaWidgetType; }; export type GetCaptchaTokenReturn = { captchaToken: string; captchaWidgetType: CaptchaWidgetType; };