UNPKG

c3nav

Version:

A c3nav API client

12 lines (11 loc) 395 B
import type { AxiosInstance } from 'axios'; import type { ClientOptions, Obstacles } from '../interfaces/'; import { APIBase } from './APIBase'; export declare class ObstaclesAPI extends APIBase { constructor(apiClient: AxiosInstance, options: ClientOptions); /** * @param id The id to get */ getById(id: number): Promise<Obstacles>; getList(): Promise<Obstacles[]>; }