UNPKG

@anilkumarthakur/vue3-recaptcha

Version:

A Vue 3 plugin for Google reCAPTCHA v2 (checkbox & invisible) and v3 integration

63 lines 1.93 kB
import { PropType } from 'vue'; import { RecaptchaBadgePosition } from '../types'; export declare const RecaptchaV3: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ siteKey: { type: StringConstructor; default: undefined; }; action: { type: StringConstructor; default: string; }; badge: { type: PropType<RecaptchaBadgePosition>; default: RecaptchaBadgePosition; }; hideBadge: { type: BooleanConstructor; default: boolean; }; modelValue: { type: StringConstructor; default: string; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { 'update:modelValue': (token: string) => boolean; verify: (token: string) => boolean; error: (err: Error) => boolean; load: null; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ siteKey: { type: StringConstructor; default: undefined; }; action: { type: StringConstructor; default: string; }; badge: { type: PropType<RecaptchaBadgePosition>; default: RecaptchaBadgePosition; }; hideBadge: { type: BooleanConstructor; default: boolean; }; modelValue: { type: StringConstructor; default: string; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((token: string) => any) | undefined; onVerify?: ((token: string) => any) | undefined; onError?: ((err: Error) => any) | undefined; onLoad?: ((...args: any[]) => any) | undefined; }>, { siteKey: string; modelValue: string; badge: RecaptchaBadgePosition; action: string; hideBadge: boolean; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; export default RecaptchaV3; //# sourceMappingURL=RecaptchaV3.d.ts.map