import { FakeTransaction, Transaction, TransactionsResponse } from '../types/transaction';
export declare const useTransactions: () => {
    transactions: (Transaction | FakeTransaction)[];
    pendingTransactionsCount: number;
    isLoading: boolean;
    isError: boolean;
    refetch: (options?: import('@tanstack/query-core').RefetchOptions) => Promise<import('@tanstack/query-core').QueryObserverResult<import('@tanstack/query-core').InfiniteData<import('axios').AxiosResponse<TransactionsResponse, any, {}>, unknown>, Error>>;
    hasNextPage: boolean;
    fetchNextPage: (options?: import('@tanstack/query-core').FetchNextPageOptions) => Promise<import('@tanstack/query-core').InfiniteQueryObserverResult<import('@tanstack/query-core').InfiniteData<import('axios').AxiosResponse<TransactionsResponse, any, {}>, unknown>, Error>>;
    isFetchingNextPage: boolean;
    isFetchNextPageError: boolean;
};
