import { AuthApiClient, PortalApiClient, RewardsApiClient } from "./api"; export interface PassportContextValue { authApiClient: AuthApiClient; portalApiClient: PortalApiClient; rewardsApiClient: RewardsApiClient; environment?: Environment; accountDataRefetchInterval: number; nativeBalanceRefetchInterval: number; nativePriceRefetchInterval: number; borrowDataRefetchInterval: number; } export declare const PassportContext: import("react").Context; type Environment = "mainnet" | "testnet"; type PassportProviderProps = { children: React.ReactNode; environment?: Environment; authApiUrl?: string; portalApiUrl?: string; rewardsApiUrl?: string; /** Time in milliseconds after which account data (like mats or mezo id) in * dropdown should be re-fetched. Default is 60000 (60 secs) */ accountDataRefetchInterval?: number; /** Time in milliseconds after which native token balance in dropdown should * be re-fetched. Default is 60000 (60 secs). */ nativeBalanceRefetchInterval?: number; /** Time in milliseconds after which native token price in dropdown should be * re-fetched. Default is 60000 (60 secs). */ nativePriceRefetchInterval?: number; /** Time in milliseconds after which borrow data in dropdown should be * re-fetched. Default is 60000 (60 secs) * price. */ borrowDataRefetchInterval?: number; }; export declare function PassportProvider({ environment, authApiUrl, portalApiUrl, rewardsApiUrl, children, accountDataRefetchInterval, nativeBalanceRefetchInterval, nativePriceRefetchInterval, borrowDataRefetchInterval, }: PassportProviderProps): import("react").FunctionComponentElement>; export {}; //# sourceMappingURL=provider.d.ts.map