import { GelatoLimitOrders, Order } from "@gelatonetwork/limit-orders-lib"; import { Field } from "../../types"; import { Currency } from "@uniswap/sdk-core"; export interface GelatoLimitOrdersHandlers { handleLimitOrderSubmission: () => Promise; handleLimitOrderCancellation: ( order: Order, orderDetails?: { inputTokenSymbol: string; outputTokenSymbol: string; inputAmount: string; outputAmount: string; executionPrice: string; } ) => Promise; handleInput: (field: Field, value: string) => void; handleCurrencySelection: (field: Field, currency: Currency) => void; handleSwitchTokens: () => void; handleRateType: () => void; library: GelatoLimitOrders | undefined; } export default function useGelatoLimitOrdersHandlers(): GelatoLimitOrdersHandlers;