import { BigintIsh, Currency } from '@wicchain/sdk'; import { WithFallbackOptions } from '../../../utils/withFallback'; import { OnChainProvider, SubgraphProvider, V2PoolWithTvl } from '../../types'; import { CommonTokenPriceProvider } from '../getCommonTokenPrices'; export type GetV2PoolsParams = { currencyA?: Currency; currencyB?: Currency; onChainProvider?: OnChainProvider; blockNumber?: BigintIsh; pairs?: [Currency, Currency][]; }; type SubgraphProviders = { v2SubgraphProvider?: SubgraphProvider; v3SubgraphProvider?: SubgraphProvider; }; type Params = GetV2PoolsParams & SubgraphProviders; export declare function createV2PoolsProviderByCommonTokenPrices(getCommonTokenPrices: CommonTokenPriceProvider): ({ currencyA, currencyB, pairs: providedPairs, onChainProvider, blockNumber, ...rest }: GetV2PoolsParams & T) => Promise; export declare const getV2PoolsWithTvlByCommonTokenPrices: ({ currencyA, currencyB, pairs: providedPairs, onChainProvider, blockNumber, ...rest }: GetV2PoolsParams & { v3SubgraphProvider?: SubgraphProvider; }) => Promise; type GetV2Pools = (params: GetV2PoolsParams & T) => Promise; export declare function createGetV2CandidatePools(defaultGetV2Pools: GetV2Pools, options?: WithFallbackOptions>): (params: GetV2PoolsParams & T) => Promise[]>; export declare function getV2CandidatePools(params: Params): Promise[]>; export {}; //# sourceMappingURL=getV2CandidatePools.d.ts.map