UNPKG

better-auth

Version:

The most comprehensive authentication framework for TypeScript.

14 lines (13 loc) 693 B
import { BaseCaptchaOptions, CaptchaFoxOptions, CaptchaOptions, CloudflareTurnstileOptions, GoogleRecaptchaOptions, HCaptchaOptions, Provider } from "./types.mjs"; import * as _better_auth_core20 from "@better-auth/core"; //#region src/plugins/captcha/index.d.ts declare const captcha: (options: CaptchaOptions) => { id: "captcha"; onRequest: (request: Request, ctx: _better_auth_core20.AuthContext) => Promise<{ response: Response; } | undefined>; options: CaptchaOptions; }; //#endregion export { BaseCaptchaOptions, CaptchaFoxOptions, CaptchaOptions, CloudflareTurnstileOptions, GoogleRecaptchaOptions, HCaptchaOptions, Provider, captcha }; //# sourceMappingURL=index.d.mts.map