/** * React Native Platform Detection Utilities * * Provides automatic platform info detection for React Native apps. * * @module @explorins/pers-sdk-react-native/utils */ import type { Platform } from '@explorins/pers-sdk/core'; /** * Detect platform info for React Native apps * * Automatically gathers OS, version, app info, and device type. * Uses react-native-device-info for enhanced detection if installed. * * @example * ```typescript * import { detectReactNativePlatform } from '@explorins/pers-sdk-react-native'; * * // Get platform info * const platform = await detectReactNativePlatform(); * // { os: 'iOS', osVersion: '17.4', app: 'MyApp', appVersion: '2.3.1', deviceType: 'phone' } * * // Set in SDK * sdk.setPlatform(platform); * ``` */ export declare function detectReactNativePlatform(): Promise; /** * Synchronous version for immediate use (limited info) * * Use when you need platform info immediately without async. * For full info including device type, use detectReactNativePlatform(). */ export declare function detectReactNativePlatformSync(): Platform; //# sourceMappingURL=platform-detection.d.ts.map