///
/**
* Creates a ref that can be initalized with a callback (lazily).
* This is useful so we don't have to construct a class or call a function every time we
* call this hook in a component as that could be costly.
*
* Inspiration is from https://github.com/facebook/react/issues/14490
*
* @param init Initial value
* @returns A React ref that was initalized with `init`
*
* @example
* const ref = useLazyRef(() => new MyExpensiveClass());
* ref.current.doSomething();
*/
export declare function useLazyRef(init: () => T): import("react").MutableRefObject;