import { MaybeFn } from 'yummies/types'; /** * @deprecated use {MaybeFn} type */ type FnValue = MaybeFn; /** * Calls the provided function with the given arguments if it is a function; * otherwise, returns the value directly. */ declare const callFunction: (fn: MaybeFn, ...args: TArgs) => TValue; /** * @deprecated use {callFunction} */ declare const resolveFnValue: (fn: MaybeFn, ...args: TArgs) => TValue; export { callFunction, resolveFnValue }; export type { FnValue };