import * as rtk from '@reduxjs/toolkit'; import { AugmentedMiddlewareAPI } from './types.js'; export interface EffectMiddleware { (api: AugmentedMiddlewareAPI): (next: rtk.Dispatch) => (action: A) => any; } export declare function buildEffects(localEffects: any, subduxes?: {}): any[]; export declare function buildEffectsMiddleware(effects?: any[], actions?: {}, selectors?: {}): (api: any) => (originalNext: any) => any; export declare const augmentMiddlewareApi: (api: any, actions: any, selectors: any) => any;