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