@embrace-io/react-native
Version:
A React Native wrapper for the Embrace SDK
11 lines (10 loc) • 419 B
TypeScript
import { IAxios } from "./IAxios";
export type NETWORK_SDK_INTERCEPTORS = "axios";
export type NETWORK_INTERCEPTOR_TYPES = IAxios;
/**
* This methods validates if the instance is supported by Embrace
* and returns its type
* @param providerInstance
* @returns Provider interceptor type
*/
export declare const getNetworkSDKInterceptorProvider: (providerInstance: NETWORK_INTERCEPTOR_TYPES) => "axios" | undefined;