/** * Hook that returns the value returned by a callback function that is only called on client-side. * * @example * function MyComponent() { * const value = useClientSideValue(Date.now, null); * * return
{value ?? 'n/a'}
; * } */ export declare function useClientSideValue(callback: () => T, initialValue?: T): typeof initialValue;