/** Run `callback` when the component is being unmounted * @param callback The function to run after the initial render * @example * function MyComponent() { * useUnmount(() => { * console.log('Unmounting!'); * }); * return
My Component
; * } */ export declare function useUnmount(callback: () => void): void;