/** * Merges a number of callbacks together * @param callbacks The list of callbacks to be merged * @returns The resulting callback that calls all callbacks */ export declare function mergeCallbacks>(callbacks: (((...args: A) => void) | undefined)[]): (...args: A) => void; /** * Merges a number of callbacks together, possibly returning undefined if no callbacks were supplied * @param callbacks The list of callbacks to be merged * @returns The resulting callback that calls all callbacks, which returns the result of the last passed cb */ export declare function mergeCallbacksOptional, B>(callbacks: (((...args: A) => B) | undefined)[]): undefined | ((...args: A) => B); //# sourceMappingURL=mergeCallbacks.d.ts.map