Domestic/import markets are benefited by deflation in the form of increased purchasing power increased value of savings in the long run, but are hurt by inflation in the form of greater real debt and decreased domestic investment. International/export markets are hurt by deflation by decreased export sales and decreased foreign investment.
Domestic/import markets are hurt by inflation in the form of decreased purchasing power and decreased value of savings in the long run, but are benefited by inflation in the form of less real debt and increased domestic investment. International/export markets are benefited by increased export sales and increased foreign investment.
Of course as always, these impacts depend on closed world (ceteris paribus) conditions which hold all other variables constant.
Sources: econ 1 (macro) and econ 2 (micro) class, research on international economics.