import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport'; // @ts-ignore - CI environment type resolution issue for CodegenTypes import { Int32 } from 'react-native/Libraries/Types/CodegenTypes'; import { TurboModuleRegistry } from 'react-native'; export interface Spec extends TurboModule { getClusterExpansionZoom: ( viewRef: Int32 | null, featureJSON: string, ) => Promise; getClusterLeaves: ( viewRef: Int32 | null, featureJSON: string, number: Int32, offset: Int32, ) => Promise; getClusterChildren: ( viewRef: Int32 | null, featureJSON: string, ) => Promise; } export default TurboModuleRegistry.getEnforcing('RNMBXShapeSourceModule');