import { type MapFunction } from '../value/map'; import { type Getter } from './getter'; /** * Factory that transforms a Getter of type I into a Getter of type O. */ export type MapGetterFactory = (input: Getter) => Getter; /** * Creates a new Getter that applies a mapping function to the result of the input Getter. * * @param input - The source Getter. * @param mapFn - The mapping function to apply to the getter's value. * @returns A new Getter that returns the mapped value. */ export declare function mapGetter(input: Getter, mapFn: MapFunction): Getter; /** * Creates a factory that wraps Getters with a mapping function. * * @param mapFn - The mapping function to apply. * @returns A factory that transforms Getters of type I to Getters of type O. * * @dbxUtil * @dbxUtilCategory getter * @dbxUtilKind factory * @dbxUtilTags getter, map, transform, factory * @dbxUtilRelated map-getter * * @__NO_SIDE_EFFECTS__ */ export declare function mapGetterFactory(mapFn: MapFunction): MapGetterFactory;