export interface SettingsOptions { scope: "user" | "project"; projectDir?: string; } /** * Check if a plugin is enabled in settings.json. */ export declare function isPluginEnabled(pluginId: string, opts: SettingsOptions): boolean; /** * List all plugin IDs currently enabled (value === true) in settings.json. */ export declare function listEnabledPlugins(opts: SettingsOptions): string[]; /** * Identify enabledPlugins entries not backed by a lockfile entry. * * Plugin IDs use `@` format. * A plugin is stale when no lockfile skill matches by name AND marketplace. * * Returns the list of stale plugin IDs — callers are responsible for * uninstalling them via `claudePluginUninstall()`. * * @returns Array of stale plugin IDs */ export declare function purgeStalePlugins(opts: SettingsOptions, lockfileSkills: Record): string[];