import { BigintIsh, Currency } from '@pancakeswap/sdk'; import { Abi, Address, PublicClient } from 'viem'; import { OnChainProvider, Pool, StablePool, V2Pool, V3Pool } from '../../types'; import { PoolMeta } from './internalTypes'; export declare const getV2PoolsOnChain: (pairs: [Currency, Currency][], provider?: OnChainProvider, _blockNumber?: BigintIsh) => Promise; export declare const getStablePoolsOnChain: (pairs: [Currency, Currency][], provider?: OnChainProvider, _blockNumber?: BigintIsh) => Promise; export declare const getV3PoolsWithoutTicksOnChain: (pairs: [Currency, Currency][], provider?: OnChainProvider, _blockNumber?: BigintIsh) => Promise; type ContractFunctionConfig = { abi?: Abi; address: Address; functionName: string; args?: any[]; }; interface OnChainPoolFactoryParams { abi: TAbi; getPossiblePoolMetas: (pair: [Currency, Currency], client?: PublicClient) => Promise; buildPoolInfoCalls: (poolMeta: TPoolMeta) => ContractFunctionConfig[]; buildPool: (poolMeta: TPoolMeta, data: any[]) => TPool | null; } export declare function createOnChainPoolFactory({ abi, getPossiblePoolMetas, buildPoolInfoCalls, buildPool }: OnChainPoolFactoryParams): (pairs: [Currency, Currency][], provider?: OnChainProvider, _blockNumber?: BigintIsh) => Promise; export {}; //# sourceMappingURL=onChainPoolProviders.d.ts.map