import type { Amount, Type as Currency, Price } from '@crypto-dex-sdk/currency'; import { Percent } from '@crypto-dex-sdk/math'; /** * Returns the percent difference between the mid price and the execution price, i.e. price impact. * @param midPrice mid price before the trade * @param inputAmount the input amount of the trade * @param outputAmount the output amount of the trade */ export declare function computePriceImpact(midPrice: Price, inputAmount: Amount, outputAmount: Amount): Percent; //# sourceMappingURL=computePriceImpact.d.ts.map