import { TranslocoService } from "@ngneat/transloco"; import { CaptchaRenderOptions, widgetId } from "../types"; declare global { interface Window { captchaloadedcallback?: () => void; } } export declare abstract class BaseCaptchaProvider { readonly translocoService: TranslocoService; abstract readonly name: string; abstract readonly url: string; private static loadPromise; private static loaded; abstract render(element: HTMLElement, options: CaptchaRenderOptions): widgetId; abstract execute(widgetId: widgetId): void; abstract reset(widgetId: widgetId): void; abstract getResponse(widgetId: widgetId): string | null; loadScript(): Promise; }