export declare const useOnUnmount: (callback: (() => void)) => number;