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