/** * Holds the host page still while strokes or a note card are on screen. * * Annotations are positioned in viewport coordinates; scrolling moves the page * out from under them. The lock engages when drawing starts or a note card * opens, and releases when the surface tears down or the flow ends (exitAll). * * Nothing on the host page is mutated. Cancelling the gestures that scroll * leaves the page's own styles untouched, so there is nothing to restore and * nothing to strand if teardown is ever missed. */ export interface ScrollLock { /** Let the page scroll again. Safe to call more than once. */ release(): void; } export declare function lockPageScroll(): ScrollLock; //# sourceMappingURL=scroll-lock.d.ts.map