/** * Web entry point for React Native Nitro Device Info. * * Selected automatically over `index.ts` on web targets: * - Metro / react-native-web: via the `.web.ts` platform extension. * - webpack / Next.js: via the `"browser"` condition in package.json `exports`. * * The public API shape is identical to `index.ts`; only the backing * `DeviceInfoModule` differs — here it is the pure-JS web fallback that never * touches Nitro's native bindings, so importing the package on web/SSR does not * crash. */ import { createDeviceInfo } from './DeviceInfo.web'; import type { DeviceInfo, PowerState, NitroDeviceType, BatteryState, NavigationMode } from './DeviceInfo.nitro'; export type DeviceType = NitroDeviceType; export { createDeviceInfo }; /** * Pre-created web fallback singleton, mirroring the native entry's * `DeviceInfoModule`. Safe to import in a browser or during SSR. */ export declare const DeviceInfoModule: DeviceInfo; export type { DeviceInfo, PowerState, BatteryState, NavigationMode }; export { useBatteryLevel, useBatteryLevelIsLow, usePowerState, useIsHeadphonesConnected, useIsWiredHeadphonesConnected, useIsBluetoothHeadphonesConnected, useBrightness, } from './hooks'; //# sourceMappingURL=index.web.d.ts.map