export declare class LsData {
  /**
   * The token used to connect to the Socket.IO and API servers.
   */
  readonly accessToken: string;
  /**
   * The unique key that is used to identify store data.
   */
  readonly idKey: string;
  /**
   * Extra sensor IDs that should be included in the API requests.
   */
  readonly sensorIds: string;
  private store;
  /**
   * The list of relevant sensors that is used when performing API requests.
   */
  private readonly defaultSensorIds;
  /**
   * The ID of the connection with the socket server.
   * Currently not in use. Can be used in the future to distinguish between multiple installations.
   */
  private socketId;
  componentWillLoad(): Promise<void>;
  /**
   * Checks for valid access token and decodes it
   * @param accessToken
   * @returns \{ valid: true, objectId, objectType \} if the token is valid
   * @returns \{ valid: false \}  if the token is invalid
   */
  private decodeAccessToken;
  /**
   * This function checks if the elevator has a back door.
   * It does this by checking for activity on sensor 517 for the past week.
   */
  private checkHasBackdoor;
  /**
   * This function retrieves historical data from the API server for a specified amount of time.
   * @param {string} fromTS A formatted Day.js object.
   * @param {string} toTS A formatted Day.js object.
   */
  private getHistoricalData;
  private connectToSocketServer;
  private listenForSensorUpdates;
  private getCurrentDataFromHistorical;
  private throwError;
  private closeSocketConnection;
  disconnectedCallback(): void;
}
