/** * Creates a function that can be partially applied from the right. * * @since 1.0.0 * * @param {Function} func - The function to curry. * * @returns {Function} - Returns the new curried function. * * @example * * const greet = (greeting, name) => `${greeting} ${name}`; * * const greetGoodbye = curryRight(greet)('Goodbye'); * * greetGoodbye('John'); * // => 'Goodbye John' * * greetGoodbye('Sarah'); * // => 'Goodbye Sarah' * * const greetGoodbyeJohn = curryRight(greet)('Goodbye', 'John'); * * greetGoodbyeJohn(); * // => 'Goodbye John' */ declare const curryRight: (func: Function) => Function; export default curryRight;