import { Take_, λ } from "./types"; /** * Turns `fun` into a unary function (a function that only accepts one * argument). * * Note: `fun` must accept at least one argument and must not require more than * one argument. * * @example * ``` * ['1', '2', '3'].map(unary(parseInt)) // -> [1, 2, 3] * ``` */ declare const unary: >(fun: Parameters extends [] ? never : T) => Unary; export default unary; declare type Unary> = λ, 1>, ReturnType>;