class Enum implements IEnumimport { Enum } from "https://deno.land/x/polkadot@0.2.12/types/codec/index.ts"; ConstructorsnewEnum(registry: Registry,Types: Record<string, string | CodecClass> | Record<string, number> | string[],value?: unknown,index?: number,unnamed 4?: Options,)PropertiesoptionalcreatedAtHash: IU8areadonlydefIndexes: number[]readonlydefKeys: string[]readonlyencodedLength: numberreadonlyhash: IU8areadonlyindex: numberreadonlyoptionalinitialU8aLength: numberreadonlyinner: CodecreadonlyisBasic: booleanreadonlyisEmpty: booleanreadonlyisNone: 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>