EnvResolver<K> typedef
Signature for functions that map a raw environment string to a typed key.
Must return null if the input cannot be resolved.
Do not throw for control flow – envx will safely fall back.
Implementation
typedef EnvResolver<K> = K? Function(String input);