using static ExampleWorld.wit.imports.lyra.api.IEcs; namespace LyraApi.Ecs; public interface IResource { public abstract static ulong TypeId { get; } public abstract static object? FromWasmResult(WorldResourceResult result); } public class MismatchedResourceResultException : Exception {}