import Analytics from '@farfetch/blackout-analytics'; import type { Middleware } from 'redux'; import type { BagActionMiddlewareOptions } from './types/index.js'; /** * Middleware for \@farfetch/blackout-redux/bags actions, to call * `analyticsInstance.track()` with the correct payload. * * @param analyticsInstance - Analytics instance. * @param customActionTypes - Action types to extend/replace the ones from * \@farfetch/blackout-redux/bags. * * @returns Redux middleware. */ export declare function analyticsBagMiddleware(analyticsInstance: Analytics, customActionTypes?: BagActionMiddlewareOptions): Middleware;