export interface EnumIO { readonly index: number; readonly str: string; readonly symbol: symbol; toString(): string; toJSON(): number; } export declare class EnumClass implements EnumIO { readonly index: number; readonly symbol: symbol; readonly str: string; private static __indices; private static __strings; constructor({ index, str, noCheckStrUnique, }: { index: number; str: string; noCheckStrUnique?: boolean; }); toString(): string; toJSON(): number; } export declare function _from({ typeList, index }: { typeList: Array; index: number; }): EnumIO | undefined; export declare function _fromString({ typeList, str }: { typeList: Array; str: string; }): EnumIO | undefined; export declare function _fromStringCaseSensitively({ typeList, str, }: { typeList: Array; str: string; }): EnumIO | undefined;