A trapezoid $ABCD$ is bicentral. The vertex $A$, the incenter $I$, the circumcircle $\omega$ and its center $O$ are given and the trapezoid is erased. Restore it using only a ruler.
1. **Construct a line through \( A \) perpendicular to \( OI \) to meet the circle again at \( B \).**

   Since \( O \) is the center of the circumcircle \( \omega \), the line \( OI \) is the radius of the circle. We need to construct a line through \( A \) that is perpendicular to \( OI \). This can be done using a ruler by drawing a line through \( A \) that intersects \( OI \) at a right angle. The intersection of this line with the circle \( \omega \) will give us the point \( B \).

2. **Let \( M = OI \cap AB \), and let the line through \( M \) perpendicular to \( IB \) meet \( IB \) again at \( N \).**

   The point \( M \) is the midpoint of \( AB \) because \( OI \) is the perpendicular bisector of \( AB \). To find \( N \), we need to draw a line through \( M \) that is perpendicular to \( IB \). This line will intersect \( IB \) at the point \( N \).

3. **Construct the line through \( N \) perpendicular to \( AB \) to meet the circle again at \( C \).**

   The point \( N \) is on the line \( IB \). We need to draw a line through \( N \) that is perpendicular to \( AB \). This line will intersect the circle \( \omega \) at the point \( C \).

4. **Construct a point \( D \) on \( \omega \) such that \( CD \parallel AB \).**

   To find \( D \), we need to draw a line through \( C \) that is parallel to \( AB \). This can be done using a ruler by drawing a line through \( C \) that is parallel to \( AB \). The intersection of this line with the circle \( \omega \) will give us the point \( D \).

By following these steps, we can restore the trapezoid \( ABCD \).

\[
\boxed{\text{The trapezoid } ABCD \text{ is restored.}}
\]