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