In the Lewis theory of acid-base reactions, bases donate pairs of electrons and acids accept pairs of electrons.
Ethers behave as Lewis bases because of the presence of two lone pairs of electrons on the oxygen atom. Therefore, they form salts with strong acids.