UNPKG

@cranberry-money/shared-services

Version:

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

9 lines 777 B
import { AxiosInstance } from 'axios'; import { formatBalance } from '@cranberry-money/shared-utils'; import type { CashAccount, CashAccountQueryParams, PaginatedResponse } from '@cranberry-money/shared-types'; export declare const configureCashAccounts: (apiClient: AxiosInstance) => void; export declare const getCashAccounts: (params?: CashAccountQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<CashAccount>, any>>; export declare const getCashAccountByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<CashAccount, any>>; export declare const getAccountCashAccounts: (accountUuid: string) => Promise<import("axios").AxiosResponse<PaginatedResponse<CashAccount>, any>>; export { formatBalance }; //# sourceMappingURL=cashAccounts.d.ts.map