import { type Address } from "viem"; import type { AccountServiceAdapter } from "../services/accountService/accountServiceConfig.js"; import type { EVaultServiceAdapter } from "../services/vaults/eVaultService/eVaultServiceConfig.js"; import type { EulerEarnServiceAdapter } from "../services/vaults/eulerEarnService/eulerEarnServiceConfig.js"; export type VaultTypeAdapterKind = "v3" | "subgraph" | "fallback"; export type RewardsServiceAdapterKind = "v3" | "direct" | "fallback"; export interface EulerSDKConfig { rpcUrls?: Record; v3ApiUrl?: string; v3ApiKey?: string; /** * Disables built-in V3 HTTP adapters. Services with secondary adapters use * those sources; V3-only services report an unavailable capability. */ disableV3?: boolean; accountServiceAdapter?: AccountServiceAdapter; accountV3ApiUrl?: string; accountV3ApiKey?: string; accountV3ForceFresh?: boolean; accountVaultsSubgraphUrls?: Record; eVaultServiceAdapter?: EVaultServiceAdapter; eVaultV3ApiUrl?: string; eVaultV3ApiKey?: string; eVaultV3BatchSize?: number; eulerEarnServiceAdapter?: EulerEarnServiceAdapter; eulerEarnV3ApiUrl?: string; eulerEarnV3ApiKey?: string; vaultTypeAdapter?: VaultTypeAdapterKind; vaultTypeV3ApiUrl?: string; vaultTypeV3ApiKey?: string; vaultTypeV3TypeMap?: Record; vaultTypeSubgraphUrls?: Record; intrinsicApyV3ApiUrl?: string; intrinsicApyV3ApiKey?: string; intrinsicApyV3PageSize?: number; intrinsicApyV3MaxAssetsPerRequest?: number; rewardsServiceAdapter?: RewardsServiceAdapterKind; rewardsV3ApiUrl?: string; rewardsV3ApiKey?: string; rewardsMerklApiUrl?: string; rewardsBrevisApiUrl?: string; rewardsBrevisProofsApiUrl?: string; rewardsFuulApiUrl?: string; rewardsTurtleApiUrl?: string; rewardsTurtleApiKey?: string; rewardsFuulTotalsUrl?: string; rewardsFuulClaimChecksUrl?: string; rewardsBrevisChainIds?: number[]; rewardsMerklDistributorAddress?: Address; rewardsFuulManagerAddress?: Address; rewardsFuulFactoryAddress?: Address; rewardsTurtleStreams?: Array<{ streamId: string; chainId: number; streamAddress?: Address; rewardToken?: { address?: Address; chainId?: number; symbol?: string; name?: string; decimals?: number; }; tokenPrice?: number; }>; rewardsEnableMerkl?: boolean; rewardsEnableBrevis?: boolean; rewardsEnableFuul?: boolean; rewardsEnableTurtle?: boolean; pricingApiUrl?: string; pricingApiKey?: string; swapApiUrl?: string; swapDefaultDeadline?: number; eulerInterfacesBranch?: string; deploymentsUrl?: string; eulerLabelsBaseUrl?: string; eulerLabelsEntitiesUrlTemplate?: string; eulerLabelsProductsUrlTemplate?: string; eulerLabelsPointsUrlTemplate?: string; eulerLabelsEarnVaultsUrlTemplate?: string; eulerLabelsAssetsUrlTemplate?: string; eulerLabelsGlobalAssetsUrl?: string; eulerLabelsLogoUrlTemplate?: string; tokenlistApiBaseUrl?: string; tokenlistUrlTemplate?: string; oracleAdapterV3ApiUrl?: string; oracleAdapterV3ApiKey?: string; oracleAdapterV3PageSize?: number; oracleAdapterV3CacheMs?: number; feeFlowControllerAddress?: Address; feeFlowControllerUtilAddress?: Address; feeFlowDefaultBuyDeadlineSeconds?: number; activityV3ApiUrl?: string; activityV3ApiKey?: string; queryCacheEnabled?: boolean; queryCacheTtlMs?: number; } type EnvRecord = Record; export declare function readEulerSDKEnvConfig(env?: EnvRecord): EulerSDKConfig; export {}; //# sourceMappingURL=config.d.ts.map