/** General map. */ export type MapOfAny = Map; /** Infers the type of the keys of a given `Map` */ export type MapKeys = M extends Map ? T : never; /** Infers the type of the values of a given `Map` */ export type MapValues = M extends Map ? T : never; /** Infers the type of the entries of a given `Map` as a tuple */ export type MapEntries = M extends Map ? [key: K, value: T] : never; /** Archive */ export type Archive = Map;