import { createDevicePixelRatio } from './core.mjs'; export { UseDevicePixelRatioOptions, UseDevicePixelRatioReturn } from './core.mjs'; import '@usels/core'; import '../../shared/configurable.mjs'; import '@legendapp/state'; /** * Reactive wrapper around `window.devicePixelRatio`. * * Tracks the current device pixel ratio and updates automatically when * the display's pixel density changes (e.g. moving a window between * monitors with different DPI, or browser zoom level changes). */ type UseDevicePixelRatio = typeof createDevicePixelRatio; declare const useDevicePixelRatio: UseDevicePixelRatio; export { type UseDevicePixelRatio, createDevicePixelRatio, useDevicePixelRatio };