import { Config } from '../../../../Fct/Config'; import { Protocol } from '../../../../Fct/generics'; import { Variable } from '../../../../Fct/plugins/corelibTypes'; type OneInchSwapFunctionParams = Record>; interface SwapValues { params: { value?: string; methodParams: OneInchSwapFunctionParams; }; state: 'VALID' | 'INVALID'; methodName: string; inputAmount: string; outputAmount: string; protocol: Protocol; } interface OneInchSwapParams { slippage?: string; input: Required<{ currency: { address: string; }; amount?: string; }>; output: { currency: { address: string; }; }; service?: any; } export declare const isNative: (address: string) => boolean; export declare class OneInchHelper extends Config { private promiseReject; getSwapParams: (params: OneInchSwapParams) => Promise; private getSwap; } export {};