import { CaptchaRequestBase, CaptchaRequestBaseIn } from './CaptchaRequestBase'; export declare type RecaptchaV2RequestBaseIn = { websiteURL: string; websiteKey: string; recaptchaDataSValue?: string; userAgent?: string; cookies?: string; } & CaptchaRequestBaseIn; /** * Base Recaptcha V2 recognition request */ export declare abstract class RecaptchaV2RequestBase extends CaptchaRequestBase { /** * Address of a webpage with Google ReCaptcha */ websiteURL: string; /** * Recaptcha website key. * @example * ]]> */ websiteKey: string; /** * Some custom implementations may contain additional "data-s" parameter in ReCaptcha2 div, which is in fact a one-time token and must be grabbed every time you want to solve a ReCaptcha2. * @example * ]]> */ recaptchaDataSValue?: string; /** * Browser's User-Agent which is used in emulation. * It is required that you use a signature of a modern browser, * otherwise Google will ask you to "update your browser". */ userAgent?: string; /** * Additional cookies which we must use during interaction with target page or Google. */ cookies?: string; constructor({ type, nocache, websiteURL, websiteKey, recaptchaDataSValue, userAgent, cookies }: RecaptchaV2RequestBaseIn); }