import codegenNativeCommands from 'react-native/Libraries/Utilities/codegenNativeCommands'; import type { SmartlookSensitiveViewType } from './types/SmartlookSensitiveViewType'; interface NativeCommands { changeIsViewSensitive: ( viewRef: React.ElementRef, isSensitive: boolean ) => void; } export const Commands: NativeCommands = codegenNativeCommands({ supportedCommands: ['changeIsViewSensitive'], });