UNPKG

protect-scr

Version:

Comprehensive client-side security protection for React applications against screenshots, printing, and unauthorized access

21 lines 592 B
interface DevToolsDetectorConfig { sensitivity: 'low' | 'medium' | 'high'; onDetected?: () => void; redirectUrl?: string; } export declare class DevToolsDetector { private config; private isDetecting; private checkInterval?; private thresholds; constructor(config: DevToolsDetectorConfig); start(): void; stop(): void; private startSizeDetection; private startConsoleDetection; private startDebuggerDetection; private startPerformanceDetection; private onDevToolsDetected; } export {}; //# sourceMappingURL=DevToolsDetector.d.ts.map