import { Unit, Units } from '../interfaces/unit.interfaces'; import { privateNotesKey, unitIdentifier } from '../interfaces/common.interfaces'; /** * checks is hub already created */ export declare const isHubCreated: () => boolean; /** * stores next hub value */ export declare const recordNextHubValue: (value: Units) => void; /** * retrieves all units from hub */ export declare const getUnitsFromHub: () => Units; /** * retrieves unit from hub * as intermediate value * by name */ export declare const getUnitFromHubByName: (name: string) => Unit; /** * retrieves unit from hub * as intermediate value * by identifier */ export declare const getUnitFromHubByIdentifier: (id: unitIdentifier) => Unit; /** * Returns the next hubs value */ export declare function updateHub(routes: Unit, name: string, key: privateNotesKey): Units>;