import { AnyFunction } from './types';
/** Calls each provided function with the same set of arguments. Useful for merging multiple callbacks. */
export declare function callAll(...fns: (AnyFunction | undefined)[]): (...args: any[]) => void;
export 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.
 */
export declare function runIfFn<T, U>(valueOrFn: T | ((...fnArgs: U[]) => T), ...args: U[]): T;
//# sourceMappingURL=function.d.ts.map