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