import type { CreateTrack } from '../models/CreateTrack'; import type { ResponseEmpty } from '../models/ResponseEmpty'; import type { ResponseTrack } from '../models/ResponseTrack'; import type { UpdateTrack } from '../models/UpdateTrack'; export declare class TrackService { /** * Get all * Lists all tracks. * @returns ResponseTrack * @throws ApiError */ static trackControllerGetAll(): Promise>; /** * Post * Create a new track.
Please remember that the track's distance must be greater than 0. * @param requestBody CreateTrack * @returns ResponseTrack * @throws ApiError */ static trackControllerPost(requestBody?: CreateTrack): Promise; /** * Get one * Lists all information about the track whose id got provided. * @param id * @returns ResponseTrack * @throws ApiError */ static trackControllerGetOne(id: number): Promise; /** * Put * Update the track whose id you provided.
Please remember that ids can't be changed. * @param id * @param requestBody UpdateTrack * @returns ResponseTrack * @throws ApiError */ static trackControllerPut(id: number, requestBody?: UpdateTrack): Promise; /** * Remove * Delete the track whose id you provided.
If no track with this id exists it will just return 204(no content). * @param id * @returns ResponseTrack * @returns ResponseEmpty * @throws ApiError */ static trackControllerRemove(id: number): Promise; }