@intuitionrobotics/ts-common
Version:
8 lines • 563 B
TypeScript
import { type ObjectTS } from "../utils/types.js";
/** Store the app config (one frozen copy per process). Call once at bootstrap, before build(). */
export declare function setAppConfig(config: ObjectTS): void;
/** The frozen config slice for a module name, or undefined if none was provided. */
export declare function getModuleConfigSlice(moduleName: string): Readonly<ObjectTS> | undefined;
/** @see setAppConfig — used by Module to invalidate stale config memos. */
export declare function getConfigEpoch(): number;
//# sourceMappingURL=app-config.d.ts.map