import * as React from 'react'; /** * Custom hook that runs an unmount effect only once. * This is similar to `useEffect`, but it only runs on unmount. * * @param {React.EffectCallback} effect the callback function * @returns {void} * * @example * ```tsx * const Component = () => { * useUnmountEffect(() => { * console.log('Unmounted'); * }); * }; * ``` */ export declare function useUnmountEffect(effect: React.EffectCallback): void;