import { UserRepository } from '@amityco/ts-sdk-react-native';
import useLiveObject from '../useLiveObject';
export function useFollowInfo({
  userId,
  enabled = true
}) {
  const {
    item,
    ...rest
  } = useLiveObject({
    fetcher: UserRepository.Relationship.getFollowInfo,
    params: userId,
    enabled: enabled && !!userId
  });
  return {
    followInfo: item,
    ...rest
  };
}
//# sourceMappingURL=useFollowInfo.js.map