UNPKG

bot-guardian-js

Version:

A powerful bot detection and prevention library for Node.js applications

12 lines (11 loc) 477 B
import React from 'react'; import { GuardianJS } from '../core/GuardianJS'; import type { GuardianConfig } from '../types'; export declare const GuardianContext: React.Context<GuardianJS | null>; interface GuardianProviderProps { children: React.ReactNode; config?: Partial<GuardianConfig>; } export declare function GuardianProvider({ children, config }: GuardianProviderProps): React.JSX.Element; export declare const useGuardian: () => GuardianJS | null; export {};