import type { SvelteComponent } from "svelte"; import type { CaptchaProps, CaptchaComponentMethods } from "../../index.js"; import type { CaptchaState } from "@better-captcha/core"; import type { ReCaptchaHandle, RenderParameters } from "@better-captcha/core/providers/recaptcha"; type ReCaptchaProps = Omit, string, ReCaptchaHandle>, "sitekey" | "endpoint"> & { sitekey: string }; declare class ReCaptcha extends SvelteComponent implements CaptchaComponentMethods { execute(): Promise; reset(): void; destroy(): void; getResponse(): ReturnType | undefined; getComponentState(): CaptchaState; render(): Promise; } export default ReCaptcha; export type { ReCaptchaHandle, RenderParameters };