/**
 * External dependencies
 */
import type { RefObject } from 'react';
/**
 * Creates a reference for a prop. This is useful for preserving dependency
 * memoization for hooks like useCallback.
 *
 * @see https://codesandbox.io/s/uselatestref-mlj3i?file=/src/App.tsx
 *
 * @param value The value to reference
 * @return The prop reference.
 */
export declare function useLatestRef<T>(value: T): RefObject<T>;
//# sourceMappingURL=use-latest-ref.d.ts.map