import type { ActionCreator } from '../../../libs/cargo-hold'; /** * AsyncActionCreators are utilities to both filter reducers/effects and then trigger those reducers * and effects upon dispatch. * * @deprecated Use builder-based async functions. */ export interface AsyncActionCreators { init: ActionCreator; load: ActionCreator; loadMore: ActionCreator; succeed: ActionCreator; fail: ActionCreator; revert: ActionCreator; } /** * * @param actionKey The key by which you want to call async actions to set state. * @param source Optional source to emit with the actions to "lock in" these actions to target * specific reducers. * @param metadata * @return `AsyncActionCreators` - init, load, succeed, fail, & revert. * @deprecated Use builder-based async functions. */ export declare const createAsyncActionCreators: (actionKey: ActionKey, source?: string | symbol, metadata?: Record) => AsyncActionCreators;