import { StatusResponse } from "@0xsquid/squid-types";
import { HistoryTransaction, HistoryTxType } from "../../core/types/history";
import { SwapTransactionForHistoryStore, TransactionStatus } from "../../core/types/transaction";
export declare const useHistory: (txType?: HistoryTxType) => {
    addSwapTransaction: (tx: SwapTransactionForHistoryStore) => void;
    globalStatus: TransactionStatus;
    replaceSwapTransactionNonce: (nonce: number, userAddress: string, tx: SwapTransactionForHistoryStore) => void;
    replaceSwapTransactionStatus: (params: {
        transactionId: string;
        status: TransactionStatus;
        statusResponse: StatusResponse | undefined;
    }) => void;
    pendingTransactions: HistoryTransaction[];
};
