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