class types.Result implements IResult<O, E> extends Enumimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts"; const { Result } = types; ConstructorsnewResult(registry: Registry,Ok: CodecClass<O> | string,Err: CodecClass<E> | string,value?: unknown,)Type ParametersO extends CodecE extends CodecPropertiesreadonlyasErr: EreadonlyasOk: OreadonlyisEmpty: booleanreadonlyisErr: booleanreadonlyisOk: booleanMethodstoRawType(): stringStatic Methodswith<O extends Codec, E extends Codec>(Types: { Ok: CodecClass<O> | string; Err: CodecClass<E> | string; }): CodecClass<Result<O, E>>import types.Resultimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts"; const { Result } = types;