import { FC } from "react";
import { API, AlgoOrderEntity } from "@orderly.network/types";
export interface Props {
    symbol: string;
    /**
     * Base tick size
     */
    onChange: (key: string, value: number | string) => void;
    maxQty: number;
    canModifyQty?: boolean;
    onSubmit: () => Promise<void>;
    onCancel?: () => void;
    isEditing?: boolean;
    className?: string;
    oldOrder?: API.AlgoOrder;
    errors: {
        [key: string]: {
            message: string;
        };
    } | null;
    order: Partial<AlgoOrderEntity & {
        /**
         * Computed take profit
         */
        tp_pnl: number;
        tp_offset: number;
        tp_offset_percentage: number;
        /**
         * Computed stop loss
         */
        sl_pnl: number;
        sl_offset: number;
        sl_offset_percentage: number;
    }>;
}
export declare const TPSLForm: FC<Props>;
//# sourceMappingURL=tpAndslForm.d.ts.map