import { User, User_Role } from "@/types/proto/api/v1/user_service_pb";

const useCurrentUser = () => {
  // Mock user for testing without backend/auth
  return {
    name: "users/test-user",
    id: 1,
    role: User_Role.HOST,
    email: "test@example.com",
    nickname: "Test User",
    avatarUrl: "",
    description: "",
    createTime: undefined,
    updateTime: undefined,
    rowStatus: "NORMAL"
  } as unknown as User;

  // Real implementation:
  // const { currentUser } = useAuth();
  // return currentUser;
};

export default useCurrentUser;
