import type { ChainDexConfig, DexConfig, InspectOptions, LPInfo } from './types/lp-inspect.js'; export declare function getFactoryFromRouter(routerAddress: string, rpcUrl: string, routerType?: 'v2' | 'v3'): Promise<{ v2Factory?: string; v3Factory?: string; }>; /** * 动态注册 DYORSwap(从 Router 获取 Factory) */ export declare function registerDYORSwap(rpcUrl: string): Promise; /** 注册新的 DEX */ export declare function registerDex(chain: string, dexKey: string, config: DexConfig): void; /** 注册新的稳定币 */ export declare function registerStableCoin(chain: string, coin: { address: string; symbol: string; decimals: number; }): void; /** 获取链配置(优先运行时配置) */ export declare function getChainConfig(chain: string): ChainDexConfig | undefined; /** 获取支持的 DEX 列表 */ export declare function getSupportedDexes(chain: string): Array<{ key: string; name: string; enabled: boolean; }>; /** 获取支持的稳定币列表 */ export declare function getSupportedStableCoins(chain: string): Array<{ address: string; symbol: string; decimals: number; }>; /** 获取所有报价代币(包装原生 + 稳定币) */ export declare function getQuoteTokens(chain: string): Array<{ address: string; symbol: string; decimals: number; isNative: boolean; }>; export declare function inspectTokenLP(token: string, opts: InspectOptions): Promise; export type { LPInfo, LPPlatform, InspectOptions, DexConfig, ChainDexConfig } from './types/lp-inspect.js';