package foo:foo; interface foo { foo: func(); } interface bar { bar: func(); } world import-and-export { import foo; export bar; }