/** * Hook to handle the back button press event on Android. * * This hook provides a way to handle the back button press event in a React Native application. * It returns an object with methods to add and remove the event listener. * * @param {() => boolean | null | undefined} handler - The function to call when the back button is pressed. * @returns {{ addEventListener: () => void, removeEventListener: () => void }} An object with methods to add and remove the event listener. */ export declare function useBackHandler(handler: () => boolean | null | undefined): { addEventListener: () => void; removeEventListener: () => void; };