/** * Calls a callback factory with the previous invocation's parameters and result, then invokes the returned callback with the current parameters. * * This allows for computations that require working with the previous parameters and result. * * @param callback - The callback that receives the previous parameters and result of and returns a callback for which the previous parameters and result are provided. * @returns A callback that receives the previous parameters and result, and returns a callback for which the previous parameters and result are provided. */ export declare function usePreviousCall any>(callback: (previousParameters: Parameters | undefined, previousResult: ReturnType | undefined) => C): C;