import { AnyFunction } from "./types.js";
//#region src/utils/function.d.ts
/** Calls each provided function with the same set of arguments. Useful for merging multiple callbacks. */
declare function callAll(...fns: (AnyFunction | undefined)[]): (...args: any[]) => void;
declare function noop(): void;
/**
 * If given value is a function, it's called with any additional arguments provided.
 * Otherwise, the provided value is returned directly.
 */
declare function runIfFn<T, U>(valueOrFn: T | ((...fnArgs: U[]) => T), ...args: U[]): T;
//#endregion
export { callAll, noop, runIfFn };

//# sourceMappingURL=function.d.ts.map