When we talk about interface it is the definition of .msg, .srv and .action. Also compare https://github.com/ros2/ros2_documentation/blob/rolling/source/Concepts/About-ROS-Interfaces.rst
The following repository collect those definitions:https://github.com/ros2/common_interfaces