import type { λ } from "./types"; /** * Given a list of functions that accept the same parameters, returns a function * that takes these parameters and invokes all of the given functions. * * The returned function returns a promise that resolves once all functions * returned/resolved and rejects if any of the functions throws/rejects - but * only after all returned promises have been settled. */ declare const bundle: (...funs: (λ | undefined)[]) => (...args: T) => Promise; /** * Same as {@link bundle}, but return synchronously. * * If any of the functions throws an error synchronously, none of the functions * after it will be invoked and the error will propagate. */ export declare const bundleSync: (...funs: (λ | undefined)[]) => (...args: T) => undefined; export default bundle;