Is there a way to say "let X be an inductive type" inside Agda? Is the closest I...

@JacquesC2@types.pl

Is there a way to say "let X be an inductive type" inside Agda?

Is the closest I can say is "Suppose X is equivalent to a W-type"?