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