import { ReturnValue } from '@enzoferey/ethers-error-parser'; import { BigNumberish } from '@ethersproject/bignumber'; import { GasOption } from '../../../hooks'; import { QuoteInfo } from '../../../services/types'; import { DefaultTokenOptions, Field, ReferrerOptions } from '../../../types'; export interface SwapState { readonly independentField: Field; readonly slippage: number; readonly typedValue: BigNumberish; readonly [Field.INPUT]: string; readonly [Field.OUTPUT]: string; readonly referrerOptions: ReferrerOptions; readonly defaultInputTokenAddress: DefaultTokenOptions; readonly defaultOutputTokenAddress: DefaultTokenOptions; readonly defaultTypedValue: BigNumberish; readonly recipient: string | null; readonly txFeeCalculation: { readonly gasPriceInfo: GasOption; readonly customGasPrice: { label: string; maxPriorityFee: string; maxFee: string; range: string; timeLabel: string; }; readonly gasPriceSettingsMode: 'basic' | 'advanced'; }; readonly loadingQuoteForAll: { [protocolName: string]: { loadingStatus: 'idle' | 'pending' | 'succeeded' | 'failed'; quoteId: number; }; }; readonly errorQuoteForAll: { [protocolName: string]: any; }; readonly estimateGasError: ReturnValue | null; readonly buildTxError: any; readonly lastQuoteUpdateTimestamp: number; readonly lastQuoteCallId: number; readonly swapData: { [protocolName: string]: QuoteInfo; }; readonly selectedProtocol: string; readonly txFees: { [protocolName: string]: string; }; } export declare const initialState: SwapState; export declare const setDefaultSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload, applyDefaultSettings: import("@reduxjs/toolkit").ActionCreatorWithPayload, typeInput: import("@reduxjs/toolkit").ActionCreatorWithPayload, selectCurrency: import("@reduxjs/toolkit").ActionCreatorWithPayload, switchCurrencies: import("@reduxjs/toolkit").ActionCreatorWithoutPayload, setSlippage: import("@reduxjs/toolkit").ActionCreatorWithPayload, setGasPriceInfo: import("@reduxjs/toolkit").ActionCreatorWithPayload, setCustomGasPrice: import("@reduxjs/toolkit").ActionCreatorWithPayload, setGasPriceSettingsMode: import("@reduxjs/toolkit").ActionCreatorWithPayload, selectSwapProtocol: import("@reduxjs/toolkit").ActionCreatorWithPayload, updateAllQuotes: import("@reduxjs/toolkit").ActionCreatorWithPayload, setEstimateGasError: import("@reduxjs/toolkit").ActionCreatorWithPayload, setBuildTxError: import("@reduxjs/toolkit").ActionCreatorWithPayload; declare const reducer: import("redux").Reducer; export default reducer;