import BigNumber from 'bignumber.js';
import { OperatePool } from '../types';
import { useSlipper } from './SlippageSetting';
export default function Ratio({ pool, addPortion, midPrice, shareOfPool, slipper, setSlipper, canOperate, }: {
    pool?: OperatePool;
    addPortion?: BigNumber;
    midPrice?: BigNumber;
    shareOfPool?: string;
    slipper: ReturnType<typeof useSlipper>['slipper'];
    setSlipper: ReturnType<typeof useSlipper>['setSlipper'];
    canOperate?: boolean;
}): JSX.Element;
