import type { ShoppingCartManager, ShoppingCartState, ShoppingCartManagerState, SubscriptionManager, ActionPromises, CartKey } from './types';
export declare function getShoppingCartManagerState(state: ShoppingCartState): ShoppingCartManagerState;
export declare function createSubscriptionManager(cartKey: CartKey | undefined): SubscriptionManager;
/**
 * Create an object that manages the Promises returned by cart actions.
 *
 * When an action is requested, we create a Promise for that action dispatcher
 * to return and store it in this object. Later when we know if the action
 * resulted in a success or a failure, the resolve or reject methods are called
 * on this object; those methods then resolve or reject each Promise that was
 * waiting for a response.
 */
export declare function createActionPromisesManager(): ActionPromises;
export declare const noopManager: ShoppingCartManager;
//# sourceMappingURL=managers.d.ts.map