import { type Ref } from "vue"; /** * Vue-idiomatic result of {@link useKeyboardHeight}. Fields mirror the React * `KeyboardState` shape (`isKeyboardOpen`, `keyboardHeight`, `availableHeight`, * `viewportHeight`) and are exposed as readonly refs so consumers can bind them * reactively inside templates or computed values. */ export interface KeyboardState { isKeyboardOpen: Readonly>; keyboardHeight: Readonly>; availableHeight: Readonly>; viewportHeight: Readonly>; } /** * Composable to detect mobile keyboard appearance and calculate available * viewport height. Uses the Visual Viewport API to track keyboard state on * mobile devices. * * Mirrors the React `useKeyboardHeight` hook: returns `keyboardHeight` as the * difference between `window.innerHeight` and `visualViewport.height`, clamped * to `0`, and reports the keyboard as open when the diff exceeds `150` px. * * @example * ```vue * * ``` */ export declare function useKeyboardHeight(): KeyboardState; //# sourceMappingURL=use-keyboard-height.d.ts.map