import type { Fn } from '../@aileron/declare';
/**
 * Executes a handler function when the component unmounts.
 * Equivalent to returning a cleanup function from useEffect with an empty dependency array.
 * @param handler - The function to execute on component unmount
 */
export declare const useOnUnmount: (handler: Fn) => void;
