import { PoolKey } from '../entities/pool'; import { PathKey } from './encodeRouteToPath'; import { Actions, URVersion } from './v4Planner'; export type Param = { readonly name: string; readonly value: any; }; export type V4RouterAction = { readonly actionName: string; readonly actionType: Actions; readonly params: readonly Param[]; }; export type V4RouterCall = { readonly actions: readonly V4RouterAction[]; }; export type SwapExactInSingle = { readonly poolKey: PoolKey; readonly zeroForOne: boolean; readonly amountIn: string; readonly amountOutMinimum: string; readonly maxHopSlippage?: string; readonly hookData: string; }; export type SwapExactIn = { readonly currencyIn: string; readonly path: readonly PathKey[]; readonly maxHopSlippage?: readonly string[]; readonly amountIn: string; readonly amountOutMinimum: string; }; export type SwapExactOutSingle = { readonly poolKey: PoolKey; readonly zeroForOne: boolean; readonly amountOut: string; readonly amountInMaximum: string; readonly maxHopSlippage?: string; readonly hookData: string; }; export type SwapExactOut = { readonly currencyOut: string; readonly path: readonly PathKey[]; readonly maxHopSlippage?: readonly string[]; readonly amountOut: string; readonly amountInMaximum: string; }; export declare abstract class V4BaseActionsParser { static parseCalldata(calldata: string, urVersion?: URVersion): V4RouterCall; private static getActions; }