/** * Hook that runs a function on component unmount * * @param fn - Function to run on unmount * * @example * ```tsx * const Component = () => { * useUnmount(() => { * console.log('Component unmounted'); * }); * return
Content
; * }; * ``` */ export declare function useUnmount(function_: () => void): void; //# sourceMappingURL=useUnmount.d.ts.map