/** How long a camera surface keeps its own compositing layer after its last transform change. */ export declare const TRANSFORM_SETTLE_MS = 180; /** * True while `transform` is still changing, false once it has held still for `settleMs`. * * `will-change: transform` is what keeps a pan smooth, but a camera surface that declares it * permanently also keeps the texture the browser rasterized at one scale. A later `scale()` * stretches that texture instead of repainting it, so text and vector art go soft at every scale * above the one the texture was taken at, and the surface never sharpens again however long the * reader waits. Promoting only while the camera moves keeps the gesture smooth and lets the * browser repaint at the scale the reader stops on. * * The transform string is the signal: identical strings are the same camera, so a re-render that * does not move the surface does not re-promote it. */ export declare function useMovingTransform(transform: string, settleMs?: number): boolean;