import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs"; import * as core from "../../../../core/index.mjs"; import * as Samsara from "../../../index.mjs"; export declare namespace TrainingCoursesClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class TrainingCoursesClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: TrainingCoursesClient.Options); /** * Returns all training courses data. Results are paginated. * Courses in the ‘draft’ status are excluded from the data returned by this endpoint. * * Rate limit: 5 requests/sec (learn more about rate limits here). * * To use this endpoint, select **Read Training Courses** under the Training Courses category when creating or editing an API token. Learn More. * * * **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team. * * @param {Samsara.GetTrainingCoursesRequest} request * @param {TrainingCoursesClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Samsara.UnauthorizedError} * @throws {@link Samsara.NotFoundError} * @throws {@link Samsara.MethodNotAllowedError} * @throws {@link Samsara.ContentTooLargeError} * @throws {@link Samsara.TooManyRequestsError} * @throws {@link Samsara.InternalServerError} * @throws {@link Samsara.NotImplementedError} * @throws {@link Samsara.BadGatewayError} * @throws {@link Samsara.ServiceUnavailableError} * @throws {@link Samsara.GatewayTimeoutError} * * @example * await client.trainingCourses.getTrainingCourses() */ getTrainingCourses(request?: Samsara.GetTrainingCoursesRequest, requestOptions?: TrainingCoursesClient.RequestOptions): core.HttpResponsePromise; private __getTrainingCourses; }