import { UseCaptchaReturn, useCaptcha } from "./composables/use-captcha.js"; import { CaptchaHandle, CaptchaHandle as CaptchaHandle$1, CaptchaState, Provider, ProviderConfig, ScriptOptions, ScriptOptions as ScriptOptions$1, WidgetId } from "@better-captcha/core"; import { SvelteComponent } from "svelte"; //#region src/index.d.ts interface CaptchaProps = CaptchaHandle$1> { sitekey?: string; endpoint?: string; options?: TOptions; scriptOptions?: ScriptOptions$1; class?: string; style?: string; autoRender?: boolean; onready?: (handle: THandle) => void; onerror?: (error: Error) => void; onSolve?: (token: TSolve) => void; } interface CaptchaComponentMethods = CaptchaHandle$1> { execute(): Promise; reset(): void; destroy(): void; getResponse(): ReturnType | undefined; getComponentState(): import("@better-captcha/core").CaptchaState; render(): Promise; } type CaptchaComponent = CaptchaHandle$1> = typeof SvelteComponent> & CaptchaComponentMethods; //#endregion export { CaptchaComponent, CaptchaComponentMethods, type CaptchaHandle, CaptchaProps, type CaptchaState, type Provider, type ProviderConfig, type ScriptOptions, type UseCaptchaReturn, type WidgetId, useCaptcha }; //# sourceMappingURL=index.d.ts.map export { default as BetterCaptcha } from "./better-captcha.svelte";