import { Token } from "@0xsquid/squid-types"; import { TransactionErrorWithMessage } from "../../core/types/error"; export type SendTransaction = { txHash: string; to: string; token: Token; amount: string; }; type TransactionState = SendTransaction & { error?: TransactionErrorWithMessage; }; interface SendTransactionStore { txLocalId?: string; transactions: Record; currentTransaction?: TransactionState; setTransactionState: (id: string | undefined, transaction: TransactionState) => void; getTransaction: (id: string) => TransactionState | undefined; } export declare const useSendTransactionStore: import("zustand").UseBoundStore>; export {};