UNPKG

2captcha-node

Version:

A NodeJS wrapper to solve image captchas with 2captcha

8 lines (7 loc) 325 B
import { SolveCaptcha, ResponseCaptcha } from './types'; declare const captchaSolver: (key: string) => { solve: ({ image, maxAttempts, }: SolveCaptcha) => Promise<ResponseCaptcha>; balance: () => Promise<string>; report: (id: string, isValid: boolean) => Promise<boolean>; }; export default captchaSolver;