We know that point estimator is defined over a sample and is said to be unbiased if its expectation value is same as that of some parametric function $g(\theta)$ where $\theta$ is a parameter for the probability density function for the population which is unknown.
Suppose we have a sample of size $n$, i.e., $\underline X=(X_1,\;X_2,\;\ldots,\;X_n)$ i.e., $n$ iid random variables.
Then the expectation of sample mean,
$E(\bar X)=\frac{\sum_{i=1}^nE(X_i)}{n}=\mu=$ population mean
Similarly, if we take an extimator as $T(\underline X)=X_1$, then also $E(T(\underline X))=E(X_1)=\mu$
So, we can see that the point estimator itself is a random variable, and it has a distribution.
In the above proofs, we are taking expectation of the estimator. Expectation is meaningful if we know the distribution.
But for each random variable $X_i's$, their distribution is same as that of the population which is known and which we are trying to estimate.
Doubt
So suppose we have infinitely many samples i.e. all the possible values for $\underline X$ or $range(\underline X)$, this means we have all possible values for the estimator also i.e., $range(\bar X)$.
Given this, I am not able to figure out, how we calculate the expectation of $\bar X$? (We don't know the distribution of $\bar X$ as distribution of each $X_i$ is unknown). The above proofs for unbiased estimators suggests that if we calculate that expectation, this will coincide with the population mean.
Addendum
To make my doubt more precise, I am adding an example.
Consider a binomial distribution of 5 trials with the probability of success $(\theta)$ being unknown. So the sample space can be considered in the form of random variable $X$ with $range(X)={\{0,1,2,3,4,5}\}$.
Now the aim of the estimator is to estimate some $g(\theta)$. Now, we can take all the possible sample of size 3 and calculate two different estimators as $T_1((X_1,X_2,X_3)=\frac{X_1+X_2+X_3}{3}$ and $T_2((X_1,X_2,X_3))=X_1$
i) Now, I have a doubt that how can we calculate $E(T_1)$ and $E(T_2)$? Should we have to consider uniform distribution? But why, if yes?
ii) Also, if we consider some distribution on the estimator and calculate its expectation value, it will be independent of $\theta$, then how can we estimate $g(\theta)$?