import { IStorageService } from "../../../../platform/storage/common/storage.service.js"; import { IUserDataProfile } from "../../../../platform/userDataProfile/common/userDataProfile.js"; /** * Storage keys for customization on/off state. They live in * {@link StorageScope.APPLICATION} so every window (including the Agents * Window, which always uses its own `agents` profile) reads and writes the * same switches. They used to live in {@link StorageScope.PROFILE}; for * profiles using the default storage both scopes are the same database. */ export declare const MCP_ENABLEMENT_STORAGE_KEY = "mcp.enablement"; export declare const AGENT_PLUGIN_ENABLEMENT_STORAGE_KEY = "agentPlugins.enablement"; export declare const AGENT_PLUGIN_ENABLEMENT_IDENTITIES_STORAGE_KEY = "agentPlugins.enablementIdentities"; export declare const AGENT_HOST_TOOL_SET_ENABLEMENT_STORAGE_KEY = "chat.agentHost.toolSetEnablement"; /** Application-scoped list of profile ids whose enablement has been merged into application storage. */ export declare const CUSTOMIZATION_ENABLEMENT_MIGRATED_PROFILES_KEY = "chat.enablementMigratedProfiles"; /** * Merges the given profile's customization on/off state from profile storage * into application storage, once per profile. Conflicts resolve "off wins". * Profile values are left in place so older builds still read them. * * Must run before any owner reads these keys from application storage: * observable mementos cache their value and ignore same-window writes. */ export declare function migrateCustomizationEnablementToApplicationStorage(storageService: IStorageService, profile: IUserDataProfile): void;