UNPKG

mav-api-ts

Version:

Unofficial, experimental MÁV API library based on the requests by jegy.mav.hu

6 lines (5 loc) 485 B
import { type AxiosRequestConfig, type AxiosResponse } from 'axios'; import { type QueryLanguage } from '../../types/common.type'; import { type StationInfoRequestBody } from '../../types/requestBody.type'; import { type StationInfo } from '../../types/stationInfo.type'; export declare function getStationInfo(query: Omit<StationInfoRequestBody, 'type' | 'minCount' | 'maxCount'>, language?: QueryLanguage, axiosConfig?: AxiosRequestConfig<any>): Promise<AxiosResponse<StationInfo>>;