package wrpc-examples:resources; interface resources { resource foo { constructor(); foo: static func(v: foo) -> string; bar: func() -> string; } bar: func(v: borrow) -> string; } world client { import resources; } world server { export resources; }