///
/**
* Helpers to manage the resolution of canvas elements.
*
* @module
*/
/**
* subscribe to changes in `window.devicePixelRatio`.
*
* @returns stop / deregister callback
*/
export declare function monitorDevicePixelRatio(cb: () => void): () => void;
/**
* subscribe to changes in the natural resolution of an on-screen element (usually a `