/**
 * Get a constant value in React, only running the callback function once.  `React.useMemo` does not
 * guarantee that a function will only be run once.
 *
 * @example
 * const value = useConstant(generateUniqueId)
 */
export declare function useConstant<T>(fn: () => T): T;
//# sourceMappingURL=useConstant.d.ts.map