interface Flip { (fn: (arg0: T, arg1: U, ...args: any[]) => R): (arg1: U, arg0: T, ...args: any[]) => R; } /** * Returns a new function much like the supplied one, except that the first two * arguments' order is reversed. * * @param {Function} fn The function to invoke with its first two parameters reversed. * @return {*} The result of invoking `fn` with its first two parameters' order reversed. * @example * * const neg = (a, b) => a - b * * flip(neg)(3, 5); //=> 2 */ declare const _default: Flip; export default _default;