nehonix-uri-processor
Version:
A powerful URI processor for encoding, decoding, and analyzing URI data securely.
36 lines • 1.44 kB
TypeScript
import React from "react";
import { SecuritySuiteContext, NehonixShieldConfig, DomProcessorConfig } from "../../types/frameworks.type";
/**
* Combined hook for accessing Nehonix security features
* This hook provides a unified interface to both NehonixShield and NehonixDomProcessor
*
* @returns Combined security context with methods and properties from both systems
*/
export declare const useNehonixShieldPlugging: () => SecuritySuiteContext;
/**
* Combined provider component for Nehonix security plugging
* This is a convenience wrapper that sets up both security contexts
*/
export declare const NehonixShieldProviderPlugging: React.FC<{
children: React.ReactNode;
shieldConfig?: Partial<NehonixShieldConfig>;
domProcessorConfig?: Partial<DomProcessorConfig>;
}>;
/**
* Higher-order component that injects the Nehonix security context
*
* @param Component The component to wrap
* @returns A new component with the security context injected as a prop
*/
export declare const withNehonixShieldPlugging: <P extends object>(Component: React.ComponentType<P & {
security: SecuritySuiteContext;
}>) => React.FC<P>;
/**
* Security badge component - shows current security status
*/
export declare const NehonixShieldPluggingBadge: React.FC<{
variant?: "minimal" | "standard" | "detailed";
className?: string;
style?: React.CSSProperties;
}>;
//# sourceMappingURL=REACT.NehonixDomPlugging.hooks.d.ts.map