import type { ActionSpecifier, Effect } from '../../../libs/cargo-hold'; import type { AsyncState } from '../async.types'; import type { AsyncActionCreators } from './async.actions'; import type { CreateAsyncEffectOptions } from './async.types'; /** * `makeAsyncEffect` is the "raw" creator function that gets used in the `AsyncAdaptor`. It gets * partially applied in the adaptor creator function itself, leaving the user to fill in the details * of a particular effect using the second curried parameter. * * @param asyncActionCreators The Async Action creators that should be called to dispatch the correct * actions to update status and payload. * @return A function that takes in CreateAsyncEffectOptions and returns an Effect */ export declare const makeAsyncEffect: (asyncActionCreators: AsyncActionCreators) => , Params extends unknown[], CallbackResult, FailedCallbackResult>(effectOptions: import("../../standard-types").OptionalIfExtends, FailPayload, FailedCallbackResult, "mapOnFail">, Payload | EmptyPayload, CallbackResult, "mapOnSuccess">) => Effect>;