/**
 * Given an enum
 * ```ts
 * enum A {
 *   a = "a",
 *   b = "b"
 * }
 * ```
 * returns
 * ```ts
 * { a: 0,
 *   b: 1 }
 * ```
 */
export declare function enumToIndexMap<T>(enumVar: T): Record<keyof T, number>;
//# sourceMappingURL=enum.d.ts.map