/** * MetricAMM SDK - Pool Read Functions * Functions for reading pool state directly from pool contract */ import type { Address, PublicClient } from "viem"; import type { PoolImmutables, PoolState, BinState } from "../types.js"; /** * Read pool immutables */ export declare function getPoolImmutables(publicClient: PublicClient, poolAddress: Address): Promise; /** * Read pool state via StateView (slot0 + slot1) */ export declare function getPoolState(publicClient: PublicClient, stateViewAddress: Address, poolAddress: Address): Promise; /** * Read bin state */ export declare function getBinState(publicClient: PublicClient, poolAddress: Address, binIdx: number): Promise; /** * Get user position shares in a specific bin */ export declare function getPositionBinShares(publicClient: PublicClient, poolAddress: Address, owner: Address, salt: bigint, binIdx: number): Promise; //# sourceMappingURL=read.d.ts.map