type CallbackType = (...args: T[]) => R; /** * useFreshCallback * @param callback Any callback function * @returns A fresh callback. * @see https://rooks.vercel.app/docs/hooks/useFreshCallback */ declare function useFreshCallback(callback: CallbackType): CallbackType; export { useFreshCallback };