import { InjectorDeps } from '../types/index'; /** * Memoizes a callback function and wraps it in an `ecosystem.batch()` call. * * To memoize a callback without automatic batching, use `injectMemo` instead: * * ```ts * injectMemo(() => myCallback, []) * ``` */ export declare const injectCallback: (callback: (...args: Args) => Ret, deps?: InjectorDeps) => (...args: Args) => Ret;