export declare function useRef<Value>(val: Value): { current: Value; }; export declare function useRef<Value>(val?: Value): { current: Value | undefined; };