import { PuppeteerExtraPlugin } from 'puppeteer-extra-plugin'; import { Browser, Frame, Page } from 'puppeteer'; import * as types from './types'; export declare const BuiltinSolutionProviders: types.SolutionProvider[]; /** * A puppeteer-extra plugin to automatically detect and solve reCAPTCHAs. * @noInheritDoc */ export declare class PuppeteerExtraPluginRecaptcha extends PuppeteerExtraPlugin { private contentScriptDebug; constructor(opts: Partial); get name(): string; get defaults(): types.PluginOptions; get opts(): types.PluginOptions; get contentScriptOpts(): types.ContentScriptOpts; /** An optional global window object we use for contentscript debug logging */ private debugBindingName; private _generateContentScript; /** Based on the user defined options we may want to filter out certain captchas (inactive, etc) */ private _filterRecaptchas; findRecaptchas(page: Page | Frame): Promise; getRecaptchaSolutions(captchas: types.CaptchaInfo[], provider?: types.SolutionProvider): Promise; enterRecaptchaSolutions(page: Page | Frame, solutions: types.CaptchaSolution[]): Promise; solveRecaptchas(page: Page | Frame): Promise; private _addCustomMethods; onPageCreated(page: Page): Promise; /** Add additions to already existing pages and frames */ onBrowser(browser: Browser): Promise; } /** Default export, PuppeteerExtraPluginRecaptcha */ declare const defaultExport: (options?: Partial) => PuppeteerExtraPluginRecaptcha; export default defaultExport;