// Example of many ways to export functions, including top-level, multiple interfaces, use and import statements, etc package test:exports; interface iface1 { func2: func(); } interface iface2 { use iface3.{color}; func3: func() -> color; } interface iface3 { enum color { red, green, blue } } world api { export func1: func(); export iface1; export iface2; export inline-iface: interface { func4: func(); } export test:sub/iface4; }