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'; // eslint-disable-next-line @typescript-eslint/no-unused-vars type ObjectOr<_T> = Object; // eslint-disable-next-line @typescript-eslint/no-unused-vars type StringOr<_T> = string; type Domain = 'Maps' | 'Navigation' | 'Search' | 'ADAS'; type Tag = Int32; type Value = { value: string | number }; export interface Spec extends TurboModule { shared(path?: string): Promise; setOption( tag: Tag, key: string, domain: StringOr, value: ObjectOr, ): Promise; } export default TurboModuleRegistry.getEnforcing('RNMBXTileStoreModule');