import { ObservableMap } from "@stencil/store"; import { ILiftStatusSensorResponse, ILiftStatusWebComponentError, ILiftStatusSensorDataResponse, DatePicker } from "./utils/types"; import { SupportedLocale } from "./utils/i18n"; type LocaleTranslator = (key: string, options?: Record) => string; export interface ILiftStatusState { historicalSensorData: ILiftStatusSensorResponse[]; currentSensorData: ILiftStatusSensorDataResponse; error: ILiftStatusWebComponentError; hasBackDoor: boolean; datePicker: DatePicker; locale: SupportedLocale; } export type ILiftStatusStore = ObservableMap & { t: LocaleTranslator; }; export declare function createNewStore(idKey: string, initialState?: Partial): void; export declare function getStore(idKey?: string): Promise; export declare function updateStore(currentSensorData: ILiftStatusState["currentSensorData"], idKey?: string): Promise; export declare function updateErrorState(error: ILiftStatusState["error"], idKey?: string): Promise; export declare function removeStore(idKey: string): void; export {};