declare type Infer = Type extends Map ? Key : never; export default Infer;