import type { RefObject } from 'react'; type UseHoneyLatest = { (value: T): RefObject; (value: T | undefined): RefObject; }; /** * Stores the latest value in a stable ref. * * Guarantees that: * - `ref.current` always points to the latest value * - the ref object identity never changes * * Overload behavior: * - If a non-optional value is provided, `.current` is non-optional * - If an optional value is provided, `.current` is optional */ export declare const useHoneyLatest: UseHoneyLatest; export {};