import { RefObject } from 'react'; /** * Moves focus off the sheet's text field once the on-screen keyboard is put away without a blur — * Android Back, a swipe down, the iPad hide key. The rows keep focus where it is on a tap (so a * search keeps its keyboard mid-list), so a field still focused under a hidden keyboard would call * it back up on every tap on a row. Focus goes to the dialog shell, where a tap opening the picker * leaves it. * * Only the keyboard going from up to down counts: a keyboard closing over several resize steps is * still caught, while a rotation with the keyboard up and a hardware keyboard (none ever shows) are not. */ export declare const useReleaseFieldOnKeyboardDismiss: (anchorRef: RefObject) => void;