c3nav
Version:
A c3nav API client
12 lines (11 loc) • 379 B
TypeScript
import type { AxiosInstance } from 'axios';
import type { Areas, ClientOptions } from '../interfaces/';
import { APIBase } from './APIBase';
export declare class AreasAPI extends APIBase {
constructor(apiClient: AxiosInstance, options: ClientOptions);
/**
* @param id The id to get
*/
getById(id: number): Promise<Areas>;
getList(): Promise<Areas[]>;
}