import type { Config } from './types.js'; /** * Honour SPA `config.agents` disable for Agim Agent. * * Historical installs never listed the built-in agent (runtime always * allowed it). Before treating absence as a hard disable, append the * canonical id (`agim`, with legacy `native` accepted during rewrite) * once to any non-empty enabled list that omits both, then set * `nativeAgentToggleMigrated` so later operator removals stick. * * Empty `agents: []` stays "allow all" and only gets the flag — a later * first explicit list is treated as intentional. */ export declare function migrateNativeAgentToggle(config: Config): { config: Config; changed: boolean; }; //# sourceMappingURL=config-migrate.d.ts.map