import { Percent } from '@sushiswap/sdk'; export declare const DEFAULT_AUTO_SLIPPAGE: Percent; export declare function toPercent(maxSlippage: number | undefined): Percent | undefined; 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(): Slippage; export declare const MAX_VALID_SLIPPAGE: Percent; export declare const MIN_HIGH_SLIPPAGE: Percent; export declare function getSlippageWarning(slippage?: Percent): 'warning' | 'error' | undefined;