import { AnyFunction } from '../../types'; /** * Executes a queue of nested functions where the result of each function is fed as an argument into the subsequent function in the queue * * @since v1.5.0 * @category Function * @template {T} - The type of the initial input arg * @template {TReturn} - The return type * @param {...AnyFunction} funcs - The function queue * @returns {(value?: T) => TReturn | T} * @example * const addOne = x => x + 1; * const addSeven = x => x + 7; * const timesNegativeOne = x => x * -1; * * pipe(addOne, addSeven, timesNegativeOne, Math.abs)(25); * //=> 33 */ export declare const pipe: (...funcs: AnyFunction[]) => (value?: T) => T | TReturn;