import { createApi } from '@reduxjs/toolkit/query/react';
export type QueryMiddleware = ReturnType<typeof createApi>['middleware'];
export type QueryReducerPath = ReturnType<typeof createApi>['reducerPath'];
export type QueryReducer = ReturnType<typeof createApi>['reducer'];
export declare const queryMiddleware: QueryMiddleware;
export declare const addMiddleware: ({ reducerPath, middleware, }: {
    reducerPath: QueryReducerPath;
    middleware: QueryMiddleware;
}) => void;
export declare const removeMiddleware: (reducerPath: string) => void;
export declare const resetMiddlewares: () => void;
