UNPKG

@cranberry-money/shared-services

Version:

Platform-agnostic API services with pure functions and dependency injection. Includes auth, portfolios, assets, countries, sectors, and more.

5 lines 498 B
import { AxiosInstance, AxiosResponse } from 'axios'; import type { Transaction, TransactionQueryParams, PaginatedResponse } from '@cranberry-money/shared-types'; export declare const getTransactions: (apiClient: AxiosInstance, params?: TransactionQueryParams) => Promise<AxiosResponse<PaginatedResponse<Transaction>, any, {}>>; export declare const getTransactionsNextPage: (lastPage: AxiosResponse<PaginatedResponse<Transaction>>) => number | undefined; //# sourceMappingURL=transactions.d.ts.map