use getEffectiveDeclarationFlags to get Export flag