import { ImmutablePoolStateMap } from './types'; import { HooksConfigMap } from './hooks/balancer-hook-event-subscriber'; import { GyroECLPImmutableString } from './gyroECLPPool'; interface PoolToken { address: string; index: number; weight: string | null; canUseBufferForSwaps: boolean | null; underlyingToken: { address: string; } | null; } export type ApiPool = { id: string; type: string; version: number; poolTokens: PoolToken[]; hook: { address: string; } | null; dynamicData: { totalLiquidity: string; }; } & GyroECLPImmutableString; export declare function fetchApiPools(network: number, hooksConfigMap: HooksConfigMap, timestamp?: number): Promise; export declare function parseApiPools(network: number, pools: ApiPool[], hooksConfigMap: HooksConfigMap): ImmutablePoolStateMap; export declare function getPoolsApi(network: number, hooksConfigMap: HooksConfigMap, timestamp?: number): Promise; export {};