import { useMemo } from 'react';
import { useSmartLinkContext } from '@atlaskit/link-provider';
var useRovoConfig = function useRovoConfig() {
  var _useSmartLinkContext = useSmartLinkContext(),
    rovoOptions = _useSmartLinkContext.rovoOptions,
    product = _useSmartLinkContext.product;
  return useMemo(function () {
    return {
      rovoOptions: rovoOptions,
      product: product
    };
  }, [rovoOptions, product]);
};
export default useRovoConfig;