Suppose we are working over some universe set $A$. I am interested in how to precisely define a set of infinite lists/sequences only, whose elements are members of $A$.
In the case of finite lists, we could perhaps use notation $a_i^n$ to stand for a (finite) list of length $n \in \mathbb{N}$ where $1 \leq i \leq n$ and each $a_i \in A$.
But say we are only interested in infinite lists. Having computer science background, I often find in literature notation $a_i^{\omega}$ denoting infinite lists of members of $A$. There is no explicit explanation for what $\omega$ stands for.
Could it be that $\omega$ stands for the first infinite ordinal, is that the solution to my question? If so, what about other larger ordinals, should they also be included in the definition? Does this question even makes sense, i.e., should I define what I exactly mean by infinite?
(As my understanding of cardinals vs. ordinals together with this post suggests, cardinals cannot be used as a solution to my problem)
By list we naively think about sequences indexed by natural numbers, or their transfinite extension by ordinals.
So a list is just a function from some ordinal into some set.
To your question, $\omega$ is the first infinite ordinal, which corresponds to the natural numbers. Other ordinals represent longer sequences.
So yes, an infinite list of length $\omega$ is a function from $\omega$ to $A$. If you want to consider also longer lists, these would correspond to functions from larger ordinals into $A$.