import { StatusResponse } from "@0xsquid/squid-types";
import { SwapTransactionForStatus, TransactionStatus } from "../../core/types/transaction";
interface UseSwapStatusQueryParams {
    transaction?: SwapTransactionForStatus;
    retry?: number;
    refetchOnWindowFocus?: "always" | boolean;
    enabled?: boolean;
    /**
     * Fires on every successful status response, with the raw status string.
     * Use for non-terminal transitions (e.g. a deposit being received).
     */
    onStatus?: (params: {
        status: string;
        statusResponse: StatusResponse;
    }) => void;
    onEndStatus?: (params: {
        status: TransactionStatus;
        statusResponse: StatusResponse;
    }) => void;
    onNotFound?: () => void;
    onError?: () => void;
}
export declare const useSwapStatusQuery: ({ transaction, retry, refetchOnWindowFocus, enabled, onStatus, onEndStatus, onNotFound, onError, }: UseSwapStatusQueryParams) => {
    transactionStatusQuery: import("@tanstack/react-query").UseQueryResult<StatusResponse, Error>;
};
export {};
