import BigNumber from 'bignumber.js'; import { UseRouteResponse } from './use-route'; export declare const getLowInfoWarningPrompt: () => string; export declare const getCautionWarningText: (isPriceImpactNaN: boolean) => "Price impact cannot be calculated for this swap pair. Proceed anyway" | "USD value for the selected token(s) cannot be calculated"; export declare const getConfirmationWarningText: (priceImpact: number) => string; export type UsePriceImpactReturnType = { warning: undefined; } | { warning: 'NONE'; } | { warning: 'LOW_INFO_WARNING'; } | { warning: 'CAUTION_WARNING' | 'REQUEST_CONFIRMATION'; priceImpactPercentage: BigNumber; usdAmountIn: BigNumber; usdAmountOut: BigNumber; }; export declare const usePriceImpact: (route: UseRouteResponse | undefined) => { readonly warning: undefined; readonly priceImpactPercentage?: undefined; readonly usdAmountIn?: undefined; readonly usdAmountOut?: undefined; } | { readonly warning: "LOW_INFO_WARNING"; readonly priceImpactPercentage?: undefined; readonly usdAmountIn?: undefined; readonly usdAmountOut?: undefined; } | { readonly warning: "CAUTION_WARNING"; readonly priceImpactPercentage: BigNumber; readonly usdAmountIn?: undefined; readonly usdAmountOut?: undefined; } | { readonly warning: "REQUEST_CONFIRMATION"; readonly priceImpactPercentage: BigNumber; readonly usdAmountIn: BigNumber; readonly usdAmountOut: BigNumber; } | { readonly warning: "NONE"; readonly priceImpactPercentage?: undefined; readonly usdAmountIn?: undefined; readonly usdAmountOut?: undefined; };