import { Percent } from '@uniswap/sdk-core'; export declare const DEFAULT_AUTO_SLIPPAGE: Percent; export declare function toPercent(maxSlippage: number): Percent; export interface Slippage { auto: boolean; allowed: Percent; warning?: 'warning' | 'error'; } export declare const DEFAULT_SLIPPAGE: { auto: boolean; allowed: Percent; }; /** Returns the allowed slippage, and whether it is auto-slippage. */ export default function getSlippage(maxSlippage?: number): Slippage; export declare const MAX_VALID_SLIPPAGE: Percent; export declare const MIN_HIGH_SLIPPAGE: Percent; export declare function getSlippageWarning(slippage?: Percent): 'warning' | 'error' | undefined;