1 2 3 4 5 6 7 8
interface new { read: func(amt: u32) -> list<u8> } default world component { import new: self.new export entrypoint: func(args: list<string>) }