import { Map } from './map'; import type { Options } from './options'; declare type Mapping = (map: Map) => Record | Record[]; declare type Mapper = (mapping: Mapping) => (source: Record | Record[], options?: Options) => T extends [] ? T[] : T; declare const mapper: Mapper; export type { Mapper, Mapping }; export default mapper;