UNPKG

@cranberry-money/shared-services

Version:

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

8 lines 538 B
import { AxiosInstance } from 'axios'; import type { Trade, TradeQueryParams, PaginatedResponse } from '@cranberry-money/shared-types'; type PaginatedTrades = PaginatedResponse<Trade>; export declare const configureTrades: (apiClient: AxiosInstance) => void; export declare const getTrades: (params?: TradeQueryParams) => Promise<import("axios").AxiosResponse<PaginatedTrades, any>>; export declare const getTradeByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<Trade, any>>; export {}; //# sourceMappingURL=trades.d.ts.map