/** * OpenTUI EditBuffer always runs native `handleScroll` in `onMouseEvent` * *after* JSX `onMouseScroll` listeners, and it never checks `scrollSpeed`. * That dual-path is what made draft + chat both move when the pointer was * over an unfocused composer. * * Patch the instance so scroll events skip native viewport motion; our * composer wheel policy (focus-strict) is the only scroll path. * * Note: `onMouseEvent` is protected on TextareaRenderable — we patch via a * structural cast so the public API stays untyped for that field. */ export declare function disableNativeTextareaScroll(editor: object | null | undefined): () => void;