class Enum implements IEnumimport { Enum } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/index.ts"; ConstructorsnewEnum(registry: Registry,Types: Record<string, string | CodecClass> | Record<string, number> | string[],value?: unknown,index?: number,unnamed 4?: DefinitionSetter<Definition>,)PropertiesoptionalcreatedAtHash: IU8areadonlydefIndexes: number[]readonlydefKeys: string[]readonlyencodedLength: numberreadonlyhash: IU8areadonlyindex: numberoptionalinitialU8aLength: numberreadonlyinner: CodecreadonlyisBasic: booleanreadonlyisEmpty: booleanreadonlyisNone: booleanoptionalisStorageFallback: booleanreadonlyregistry: Registryreadonlytype: stringreadonlyvalue: CodecMethodsprotected_toRawStruct(): string[] | Record<string, string | number>eq(other?: unknown): booleaninspect(): InspecttoHex(): HexStringtoHuman(isExtended?: boolean): AnyJsontoJSON(): AnyJsontoNumber(): numbertoPrimitive(): AnyJsontoRawType(): stringtoString(): stringtoU8a(isBare?: boolean): Uint8ArrayStatic Methodswith(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>