import { ObjectType } from "./status"; import { ILiftStatusAuth, ILiftStatusSensorResponse } from "./types"; export type TResetCommand = "reset_contact_when_idle" | "reset_contact"; export interface IApiConfig { apiUrl: string; accessToken: string; } export declare class MissingApiConfigError extends Error { constructor(message: string); } export declare function authenticate({ apiUrl, accessToken, }: IApiConfig): Promise; export declare function fetchSensorSummary({ apiUrl, accessToken, objectType, objectId, sensorId, from, }: IApiConfig & { objectType: ObjectType; objectId: string; sensorId: number; from: string; }): Promise; export declare function fetchSensorData({ apiUrl, accessToken, objectType, objectId, from, to, sensors, }: IApiConfig & { objectType: ObjectType; objectId: string; from: string; to: string; sensors: number[]; }): Promise; export declare function sendResetCommand({ idKey, command, }: { idKey: string | undefined; command: TResetCommand; }): Promise;