UNPKG

@cranberry-money/shared-services

Version:

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

7 lines 670 B
import { AxiosInstance } from 'axios'; import type { Sector, SectorQueryParams, PaginatedResponse } from '@cranberry-money/shared-types'; export declare const configureSectors: (apiClient: AxiosInstance) => void; export declare const getSectors: (params?: SectorQueryParams) => Promise<import("axios").AxiosResponse<PaginatedResponse<Sector>, any>>; export declare const getSectorByUuid: (uuid: string) => Promise<import("axios").AxiosResponse<Sector, any>>; export declare const searchSectors: (searchTerm: string, params?: Omit<SectorQueryParams, "name">) => Promise<import("axios").AxiosResponse<PaginatedResponse<Sector>, any>>; //# sourceMappingURL=sectors.d.ts.map