import { Address, PublicClient } from 'viem'; import { AaveMarketPosition, PositionSizeParams } from '../types.js'; /** * Get a position by user address. * * The adapter resolves the user's proxy contract and collateralized vault IDs. * * NOTE: Prefer using the indexer (fetchAavePositionWithCollaterals) for position data. * This function is only needed when you need data not available in the indexer, * or when you need to verify on-chain state. * * @param publicClient - Viem public client for reading contracts * @param contractAddress - AaveIntegrationAdapter contract address * @param user - User's Ethereum address * @returns Market position data or null if position doesn't exist */ export declare function getPosition(publicClient: PublicClient, contractAddress: Address, user: Address): Promise; /** * Get position size parameters from the adapter contract. * * Returns the maximum BTC position size and maximum vaults per position * as configured on-chain. * * @param publicClient - Viem public client for reading contracts * @param contractAddress - AaveIntegrationAdapter contract address * @returns Position size parameters (maxPositionBTC, maxVaultsPerPosition) */ export declare function getPositionSizeParams(publicClient: PublicClient, contractAddress: Address): Promise; //# sourceMappingURL=query.d.ts.map