/** * Lazy `PlatformAdapter` that reads from React Native's `Platform`, * `Dimensions`, and `NativeModules` at first use. Wrapped in a * try / catch around `require('react-native')` so unit tests do not * have to mock the native module: when `react-native` is unavailable * (Node test runner), every field falls back to a self-labelling * sentinel string. */ import type { PlatformAdapter } from './types/platformAdapter'; /** * Build a fresh {@link PlatformAdapter} populated from whatever the * lazy `require('react-native')` returns. Returns a self-labelling * `'unknown'` adapter when the native module is absent so tests and * Node hosts can run the rest of the SDK without crashing. * * `ramSizeMb` and `appVersion` always stay at their fallback * values: React Native does not expose total RAM or bundle version * through JS, so a host that wants real values must inject them via * `Keewano.init({ platform: ... })`. */ declare function defaultPlatformAdapter(): PlatformAdapter; export { defaultPlatformAdapter };