Each element of \(X\) only has three choices:
- It can go to set \(A\)
- It can go to set \(B\)
- It can go to neither
(but not to both, since we have to satisfy \(A \cap B = \emptyset\))
So, the total number of pairs \((A, B)\) is:
\[
\boxed{\ 3^n}
\]