import { Context } from 'react'; import { ReactReduxContextValue } from 'react-redux'; import { setupListeners } from '../core/setupListeners'; import { Api } from '../apiTypes'; /** * Can be used as a `Provider` if you **do not already have a Redux store**. * * @example * ```ts * // codeblock-meta title="Basic usage - wrap your App with ApiProvider" * import * as React from 'react'; * import { ApiProvider } from '@rtk-incubator/rtk-query'; * * function App() { * return ( * * * * ); * } * ``` * * @remarks * Using this together with an existing redux store, both will * conflict with each other - please use the traditional redux setup * in that case. */ export declare function ApiProvider>(props: { children: any; api: A; setupListeners?: Parameters[1]; context?: Context; }): JSX.Element; //# sourceMappingURL=ApiProvider.d.ts.map