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, unknown>) => string;
export interface ILiftStatusState {
    historicalSensorData: ILiftStatusSensorResponse[];
    currentSensorData: ILiftStatusSensorDataResponse;
    error: ILiftStatusWebComponentError;
    hasBackDoor: boolean;
    datePicker: DatePicker;
    locale: SupportedLocale;
}
export type ILiftStatusStore = ObservableMap<ILiftStatusState> & {
    t: LocaleTranslator;
};
export declare function createNewStore(idKey: string, initialState?: Partial<ILiftStatusState>): void;
export declare function getStore(idKey?: string): Promise<ILiftStatusStore>;
export declare function updateStore(currentSensorData: ILiftStatusState["currentSensorData"], idKey?: string): Promise<void>;
export declare function updateErrorState(error: ILiftStatusState["error"], idKey?: string): Promise<void>;
export declare function removeStore(idKey: string): void;
export {};
