export type MaybeAsync = T | PromiseLike; export type Name = string; export type Named = Record; export type Many = Array | Named; declare function map(data: Many, fn: (x: T, i: keyof typeof data) => U): Many; declare function map(data: Array, fn: (x: T, i: keyof typeof data) => U): Array; declare function map(data: Named, fn: (x: T, i: keyof typeof data) => U): Named; export { map }; declare function mapAsync(data: Many, fn: (x: T, i: keyof typeof data) => MaybeAsync): Promise>; declare function mapAsync(data: Array, fn: (x: T, i: keyof typeof data) => MaybeAsync): Promise>; declare function mapAsync(data: Named, fn: (x: T, i: keyof typeof data) => MaybeAsync): Promise>; export { mapAsync }; export declare const call: (x: Function, ...args: unknown[]) => any; export declare function pluralize(x: unknown[], singular: string, plural: string): string; //# sourceMappingURL=many.d.ts.map