import type { RefObject } from "react"; import type { ResolvedConfig } from "./types"; export declare const usePanelHeight: (panelRef: RefObject, hasSnapPoints: boolean) => number; export declare const useViewportHeight: (active: boolean) => number; /** * Height (px) the on-screen keyboard occupies while a field inside `containerRef` * is focused, else `0`. Derived from the gap between the layout viewport and the * (keyboard-shrunk, possibly panned) visual viewport. * * Focus-gated to fields *inside the container* so unrelated `visualViewport` * changes — Android URL-bar collapse, or typing into the page behind a * non-modal sheet — don't move the sheet, and zero while pinch-zoomed since a * shrunk visual viewport then isn't a keyboard. rAF-throttled because iOS * fires many resize events over the keyboard's open animation. */ export declare const useKeyboardInset: (active: boolean, containerRef: RefObject) => number; export declare const useBodyScale: (config: ResolvedConfig, isOpen: boolean, prefersReducedMotion: boolean) => void; //# sourceMappingURL=renderer-effects.d.ts.map