export type Factory = (key: string) => (config: ConfigType) => T; type MapperType = Record unknown>; type ConfigType = Record; type CurriedFunction = (map: M) => (key: string) => (config: ConfigType) => ReturnType; declare const _default: CurriedFunction; export default _default;