declare module 'react-native/Libraries/Types/CodegenTypes' { import type { NativeSyntheticEvent } from 'react-native'; export type Double = number; export type Float = number; export type Int32 = number; export type WithDefault = T; export type DirectEventHandler = ( event: NativeSyntheticEvent ) => void; export type BubblingEventHandler = ( event: NativeSyntheticEvent ) => void; } declare module 'react-native/Libraries/Utilities/codegenNativeComponent' { import type { HostComponent } from 'react-native'; export default function codegenNativeComponent

( componentName: string, options?: { interfaceOnly?: boolean; paperComponentName?: string; paperComponentNameDeprecated?: string; excludedPlatforms?: ReadonlyArray<'iOS' | 'android'>; } ): HostComponent

; }