Interconnects arranged on the substrate or the lid, and covered by the package seal