import { NgZone } from '@angular/core'; export declare class ScriptService { protected zone: NgZone; /** * Name of the global google recaptcha script */ protected readonly windowGrecaptcha = "grecaptcha"; /** * Name of the global callback */ protected readonly windowOnLoadCallbackProperty = "ngx_captcha_onload_callback"; protected readonly globalDomain: string; protected readonly defaultDomain: string; constructor(zone: NgZone); registerCaptchaScript(useGlobalDomain: boolean, render: string, onLoad: (grecaptcha: any) => void, language?: string): void; cleanup(): void; /** * Indicates if google recaptcha script is available and ready to be used */ private grecaptchaScriptLoaded; /** * Gets language param used in script url */ private getLanguageParam; /** * Url to google api script */ private getCaptchaScriptUrl; }