import { HttpClient } from '@angular/common/http'; import { ToastrService } from 'ngx-toastr'; import { Observable } from 'rxjs'; import { DataService } from './data.service'; import * as i0 from "@angular/core"; declare global { interface Window { onRecaptchaLoadCallback: () => void; } var grecaptcha: { ready: (callback: () => void) => void; render: (container: string | HTMLElement, parameters: { sitekey: string; callback?: (token: string) => void; 'expired-callback'?: () => void; 'error-callback'?: () => void; size?: 'normal' | 'compact' | 'invisible'; theme?: 'light' | 'dark'; }) => number; execute: (widgetId?: number) => void; getResponse: (widgetId?: number) => string; reset: (widgetId?: number) => void; }; } export declare class RecaptchaService { private toastr; private http; private dataService; private siteKey; private apiUrl; private widgetId; private initialized; private resolved; constructor(toastr: ToastrService, http: HttpClient, dataService: DataService); ngOnInit(): void; fetchSiteKeyFromApi(): Observable; initialize(): Promise; render(containerId: string, callback: (token: string) => void): void; reset(): void; getResponse(): string; isRendered(): boolean; isResolved(): boolean; removeRecaptchaScript(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }