UNPKG

protect-scr

Version:

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

18 lines 528 B
interface ScreenshotProtectorConfig { blurOnFocusLoss: boolean; onAttempt?: () => void; } export declare class ScreenshotProtector { private config; private isActive; private eventListeners; constructor(config: ScreenshotProtectorConfig); start(): void; stop(): void; private setupVisibilityDetection; private setupPrintScreenDetection; private setupMobileScreenshotDetection; private setupBrowserScreenshotDetection; } export {}; //# sourceMappingURL=ScreenshotProtector.d.ts.map