@sebak/recaptcha-v3
Version:
 
19 lines (18 loc) • 655 B
TypeScript
import { ReCaptchaInstance } from './ReCaptchaInstance';
declare class ReCaptchaLoader {
static load(siteKey: string, options?: IReCaptchaLoaderOptions): Promise<ReCaptchaInstance>;
private static stateAttributeName;
private static successfulLoadingConsumers;
private static errorLoadingRunnable;
private static setLoadingState;
private static getLoadingState;
private static hasReCaptchaScript;
private loadScript;
private waitForScriptToLoad;
}
export interface IReCaptchaLoaderOptions {
useRecaptchaNet?: boolean;
autoHideBadge?: boolean;
}
export declare const load: typeof ReCaptchaLoader.load;
export {};