import { type GenericFunction } from "./shared/types";
/**
 * Returns a callback setter for a callback to be performed when the component did unmount.
 */
declare const useUnmount: <TCallback extends GenericFunction>(callback?: TCallback | undefined) => import("./shared/types").CallbackSetter<undefined>;
export default useUnmount;
