import type { AgentConfig } from './types.js'; /** * Save configuration */ export declare function saveConfig(config: AgentConfig): void; /** * Set a specific config value */ export declare function setConfig(key: K, value: AgentConfig[K]): void; /** * Update API key in config file after rotation * This directly modifies the config file without going through loadConfig * to avoid environment variable overrides being persisted. * * Also updates process.env.ZNVAULT_API_KEY to ensure subsequent * loadConfig() calls return the new key. */ export declare function updateApiKey(newKey: string): void; //# sourceMappingURL=saver.d.ts.map