UNPKG

@nestlab/google-recaptcha

Version:
13 lines (12 loc) 630 B
import { GoogleRecaptchaModuleOptions } from '../interfaces/google-recaptcha-module-options'; import { GoogleRecaptchaEnterpriseOptions } from '../interfaces/google-recaptcha-enterprise-options'; import { ScoreValidator, SkipIfValue } from '../types'; export declare class RecaptchaConfigRef { private readonly value; get valueOf(): GoogleRecaptchaModuleOptions; constructor(value: GoogleRecaptchaModuleOptions); setSecretKey(secretKey: string): this; setEnterpriseOptions(options: GoogleRecaptchaEnterpriseOptions): this; setScore(score: ScoreValidator): this; setSkipIf(skipIf: SkipIfValue): this; }