import type { BreakFunction, SerialFunction, WrappedSerialFunction } from './types.js'; /** * useSerialExec * wrap original function to be used for serial execution * * @param {T[]} fn array of params that will be passed to function * @returns {WrapFunction} wraped function that can be used in array of methods to be executed serialy */ export declare const useSerialExec: (fn: WrappedSerialFunction) => (...args: any[]) => (breakFn: BreakFunction) => T | Promise; /** * all * execute serialy asynchronouse functions from array * * @param {SerialFunction[]} fnList array wraped functions with parameters that needs to be executed * @returns {Promise} Promise with array of result from serial executions */ export declare const all: (fnList: SerialFunction[]) => Promise;