import type { MethodKey } from '../../global/iv.js'; declare global { /** * Returns a function that when given a value invokes the specified method. `iv` is short for "invoke". * @param name The method to get. * * @example * ```typescript * const obj = { a: 1, b: 2, c: () => 3 }; * const objs = [{ a: 1, b: 2, c: () => 3 }, { a: 4, b: 5, c: () => 6 }]; * objs.map(iv('c')); // => [3, 6] * [' a', ' b', ' c'].map(iv('trim')); // => ['a', 'b', 'c'] * iv('c')(obj); // => 3 * ``` */ function iv>( name: P, ): (x: T) => ReturnType; } //# sourceMappingURL=iv.d.ts.map