UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

12 lines (11 loc) 456 B
import type { IFileStorage } from '../interfaces/files/fileStorage.js'; import type { SystemConfig } from './types.js'; export interface ConfigStore extends IFileStorage { fetchConfig(): Promise<SystemConfig | null>; saveConfig(config: SystemConfig): Promise<void>; } export declare class ConfigStoreFactory { private static instance; static setConfigStore(configStorage: ConfigStore): ConfigStore; static getInstance(): ConfigStore; }