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<string, TransactionState>;
    currentTransaction?: TransactionState;
    setTransactionState: (id: string | undefined, transaction: TransactionState) => void;
    getTransaction: (id: string) => TransactionState | undefined;
}
export declare const useSendTransactionStore: import("zustand").UseBoundStore<import("zustand").StoreApi<SendTransactionStore>>;
export {};
