export interface PortfolioAsset { address: string; symbol: string; name: string; image: string; balance: string; price: string; value: string; percentage: string; chainKey: string; chainContract: string; contract: string; decimal: string; openPnl: string; totalCostBasis: string; priceSource: string; } export interface ProtocolPosition { name: string; assets: PortfolioAsset[]; totalValue: string; totalOpenPnl: string; totalCostBasis: string; unlockAt: string; } export interface ChainEntry { name: string; key: string; value: string; totalCostBasis: string; totalClosedPnl: string; totalOpenPnl: string; protocolPositions: { [positionName: string]: ProtocolPosition; }; } export interface ProtocolEntry { name: string; key: string; value: string; totalCostBasis: string; totalClosedPnl: string; totalOpenPnl: string; chains: { [chainKey: string]: ChainEntry; }; } export interface PortfolioEntry { address: string; networth: string; lastUpdated: string; cashBalance: string; manualBalanceNetworth: string; assetByProtocols: { [protocolKey: string]: ProtocolEntry; }; conversionRates: Record; priceAdapters: string[]; } export type PortfolioResponse = PortfolioEntry[]; export interface TransactionAsset { symbol: string; name: string; image: string; address: string; balance: string; price: string; value: string; } export interface Transaction { hash: string; timestamp: string; chain: { key: string; name: string; }; from: string; to: string; type: string; protocol: { key: string; name: string; }; assetsIn: TransactionAsset[]; assetsOut: TransactionAsset[]; valueFiat: string; fees: string; feesFiat: string; explorerUrl: string; } export interface TransactionsResponse { transactions: Transaction[]; } export interface NAVResponse { nav: number; currency: string; } export interface StatusEntry { address: string; portfolioLastSync: string; transactionsLastSync: string | null; syncInProgress: boolean; } export type StatusResponse = StatusEntry[]; export type CreditsResponse = number; export interface SubscribeSnapshotResponse { message: string; [key: string]: any; } export interface TokenOverviewItem { image: string; symbol: string; name: string; price: string; balance: string; value: string; percentage: string; protocolsDetailed: any[]; } export type TokenOverviewResponse = TokenOverviewItem[]; export type HistoricalResponse = PortfolioEntry[]; export type SyncResponse = string; export type AirdropResponse = PortfolioEntry[]; export type PolymarketResponse = PortfolioEntry[]; //# sourceMappingURL=types.d.ts.map