import type { Connection } from '@solana/web3.js'; import type { IAddress, IEnv, IWSMonitorHeaders } from '../../types'; export interface ISolanaService { connection: Connection; getVaultState: (vaultProgramId: any, idl: any, vaultAddress?: any) => Promise; fetchUserShareBalance: (publicKey: any, shareMint: any) => Promise; } export interface IVaultBaseOptions { rpcUrl: string; env?: IEnv; augustKey?: string; subgraphKey?: string; chainId?: number; solanaService?: ISolanaService; headers?: IWSMonitorHeaders; } export interface IVaultCustomOptions { loans?: boolean; allocations?: boolean; wallet?: IAddress; solanaWallet?: string; stellarWallet?: string; }