package foo:foo; interface %type { record foo{ something: string, anything: string } record bar{ anything: u16 } fetch: func(x: foo) -> result; } world foo-world { import %type; }