It seems that export config is reserved "word" in next app router approach. We used config object in a number of section to store configuration, mainly for form inputs etc.
See error message below
Further investigation is required. My assumption that renaming config object to more specific name will remove the error.