/** * Hook that detects and tracks changes in device pixel ratio (DPR). * Returns both the current DPR and a version counter for forcing remounts. * This is crucial for proper canvas rendering on high-DPI displays. * * The hook listens for changes in DPR which can occur when: * - Moving a window between displays with different pixel densities * - Fullscreening on a different monitor * - Browser zoom changes (Cmd/Ctrl +/-) * * @returns {{ dpr: number, version: number }} Current DPR and version counter */ export declare const useDevicePixelRatio: () => { dpr: number; version: number; };