import type { Config } from './types.js';
/** Replace the live config. Called once at boot, then again on every
 *  successful PUT /api/config. */
export declare function setLiveConfig(cfg: Config): void;
/** Return the live Config or null if not yet set. Most callers should
 *  use the typed accessors below instead of inspecting raw fields. */
export declare function getLiveConfig(): Config | null;
/** The Config's `defaultAgent` field, with a fallback for very early
 *  callers (e.g. a tool fires before cli.ts has finished boot). */
export declare function getDefaultAgent(fallback?: string): string;
/** True iff `name` is in the operator's enabled-agent list. Empty list
 *  or no-config-loaded → "allow all" for back-compat with installs that
 *  never configured the list explicitly. */
export declare function isAgentEnabled(name: string): boolean;
/** Visible for test. Resets the singleton between tests. NOT exposed
 *  through index/barrel exports — runtime callers should never reach
 *  for this. */
export declare function __resetLiveConfigForTest(): void;
//# sourceMappingURL=live-config.d.ts.map