{k : Type u_1} →
  {G : Type u_2} →
    [inst : CommSemiring k] →
      [inst_1 : Monoid G] →
        (M : Type u_4) →
          [inst_2 : AddCommMonoid M] →
            [inst_3 : Module (MonoidAlgebra k G) M] → Representation k G (RestrictScalars k (MonoidAlgebra k G) M)