import { type RefObject } from 'react'; import type { TurnstileInstance } from '@marsidev/react-turnstile'; export interface UseTurnstileExecuteResult { readonly required: boolean; readonly siteKey: string | null; readonly widgetKey: number; readonly isLoading: boolean; readonly isError: boolean; /** True when public config settled successfully (enabled or intentionally off). */ readonly isReady: boolean; readonly turnstileRef: RefObject; readonly execute: () => Promise; readonly resetTurnstile: () => void; readonly refetchConfig: () => void; readonly onWidgetLoad: () => void; readonly onSuccess: (token: string) => void; readonly onExpire: () => void; readonly onError: () => void; } export declare function useTurnstileExecute(apiBaseUrl?: string): UseTurnstileExecuteResult; //# sourceMappingURL=useTurnstileExecute.d.ts.map