/** * Close an open overlay on Android's hardware or gesture back: while `active`, back calls * `onBack` and is consumed, so the app neither navigates nor exits under the overlay. A * no-op on iOS, and never subscribed on the web. */ export declare function useHardwareBack( /** Subscribe only while true (pass the overlay's open state). */ active: boolean, /** Called when hardware back is pressed while active; the event is consumed. */ onBack: () => void): void; //# sourceMappingURL=use-hardware-back.d.ts.map