declare const EVENT_TYPE: { readonly didShow: { readonly show: "keyboardDidShow"; readonly hide: "keyboardDidHide"; }; readonly willShow: { readonly show: "keyboardWillShow"; readonly hide: "keyboardWillHide"; }; }; /** * React hook that tracks the state of the keyboard. * * @param options An object with a single property, `eventType`, which is the type of keyboard event to listen for. The default is `'didShow'`, which listens for `'keyboardDidShow'` and `'keyboardDidHide'` events. * * @returns An object with three properties: `isKeyboardVisible` (a boolean indicating whether the keyboard is currently visible), `keyboardHeight` (the height of the keyboard in pixels), and `dismissKeyboard` (a function that will dismiss the keyboard if it is visible). * @remarks * This is an original copy from https://github.com/mrzachnugent/react-native-reusables/blob/main/packages/reusables/src/lib/keyboard.tsx */ export declare function useKeyboard({ eventType }?: { eventType?: keyof typeof EVENT_TYPE; }): { isKeyboardVisible: boolean; keyboardHeight: number; dismissKeyboard: () => void; }; export {};