import { DeepReadonly } from 'ts-essentials'; import { PoolState } from '../types'; import { RustPoolRegistryType } from '../../uniswap-v3/contract-math/native-bridge'; export { RustPoolRegistryType }; export declare const nativeAddonAvailable: boolean; export declare const useNativeMath: boolean; export type RustPoolHandleType = { queryOutputs(amounts: bigint[], zeroForOne: boolean, side: number): { outputs: bigint[]; tickCounts: number[]; }; }; /** * Create a RustPoolHandle from a Solidly V3 PoolState. * Returns null if the native addon is not available. */ export declare function createSolidlyRustHandle(state: DeepReadonly): RustPoolHandleType | null; /** * Create a RustPoolRegistry for batch parallel queries. * Returns null if the native addon is not available. */ export declare function createSolidlyRegistry(): RustPoolRegistryType | null; /** * Register a Solidly V3 pool in the registry using Solidly-specific state mapping. */ export declare function solidlyRegistrySetPool(registry: RustPoolRegistryType, key: string, state: DeepReadonly): void;