export declare class LsData { private static readonly SENSOR_ID_S10; private static readonly SENSOR_ID_S524; /** * 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; /** * The URL for the API endpoint. */ readonly apiUrl = "https://api-gcp-prod.liftstatus.nl"; /** * Global locale for all components in this installation (`nl` or `en`). */ readonly language?: string; syncStoreLocaleFromLanguage(newLanguage?: string): void; private store; /** * The computed idKey used for the store. Cached to allow cleanup in disconnectedCallback. */ private computedIdKey; /** * The list of relevant sensors that is used when performing API requests. */ private readonly availableSensorIds; /** * 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; /** * Reference of the connection with the socket server. */ private socket; componentWillLoad(): Promise; /** * 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 resetError; private closeSocketConnection; disconnectedCallback(): void; }