class Result implements IResult<O, E> extends Enumimport { Result } from "https://deno.land/x/polkadot@0.2.16/types/codec/index.ts"; 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>>