import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import type * as Samsara from "../../../index.js"; export declare namespace VehicleStatsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class VehicleStatsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: VehicleStatsClient.Options); /** * Returns the last known stats of all vehicles at the given `time`. If no `time` is specified, the current time is used. * * Related guide: Telematics. * * **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. * * To use this endpoint, select **Read Vehicle Statistics** under the Vehicles category when creating or editing an API token. Learn More. * * @param {Samsara.GetVehicleStatsRequest} request * @param {VehicleStatsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.vehicleStats.getVehicleStats() */ getVehicleStats(request?: Samsara.GetVehicleStatsRequest, requestOptions?: VehicleStatsClient.RequestOptions): core.HttpResponsePromise; private __getVehicleStats; /** * Follow a feed of vehicle stats. * * Your first call to this endpoint will provide you with the most recent stats for each vehicle and an `endCursor`. * * You can the provide the `endCursor` value to the `after` query parameter to get all updates since the last call you made. * * If `hasNextPage` is `false`, no new data is immediately available. You should wait a minimum of 5 seconds making a subsequent request. * * Related guide: Telematics. * * **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. * * To use this endpoint, select **Read Vehicle Statistics** under the Vehicles category when creating or editing an API token. Learn More. * * @param {Samsara.GetVehicleStatsFeedRequest} request * @param {VehicleStatsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.vehicleStats.getVehicleStatsFeed() */ getVehicleStatsFeed(request?: Samsara.GetVehicleStatsFeedRequest, requestOptions?: VehicleStatsClient.RequestOptions): core.HttpResponsePromise; private __getVehicleStatsFeed; /** * Returns vehicle stats during the given time range for all vehicles. This can be optionally filtered by tags or specific vehicle IDs. * * Related guide: Telematics. * * **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. * * To use this endpoint, select **Read Vehicle Statistics** under the Vehicles category when creating or editing an API token. Learn More. * * @param {Samsara.GetVehicleStatsHistoryRequest} request * @param {VehicleStatsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.vehicleStats.getVehicleStatsHistory({ * startTime: "startTime", * endTime: "endTime" * }) */ getVehicleStatsHistory(request: Samsara.GetVehicleStatsHistoryRequest, requestOptions?: VehicleStatsClient.RequestOptions): core.HttpResponsePromise; private __getVehicleStatsHistory; }