UNPKG

@trustcaptcha/trustcaptcha-nodejs

Version:

Trustcaptcha library for nodejs with JavaScript/TypeScript

17 lines (16 loc) 639 B
import { VerificationResult } from './model/verificationResult'; export declare class CaptchaManager { static getVerificationResult(secretKey: string, base64verificationToken: string): Promise<VerificationResult>; } export declare class SecretKeyInvalidException extends Error { constructor(message?: string); } export declare class VerificationTokenInvalidException extends Error { constructor(message?: string); } export declare class VerificationNotFoundException extends Error { constructor(message?: string); } export declare class VerificationNotFinishedException extends Error { constructor(message?: string); }