import type { InstalledPlugin } from "./plugin-cli.js";
export interface DiscoverInstalledPluginsOptions {
    /** Absolute path to the Claude Code plugin cache root. */
    cacheRoot: string;
    /** Project root for project-scoped settings.json. Optional. */
    projectDir?: string;
}
/**
 * Drop-in replacement for `claude plugin list` + `parseInstalledPlugins`.
 *
 * Returns one `InstalledPlugin` row per (name, marketplace, scope) where:
 *   - one row is emitted for each scope where `enabledPlugins[<name>@<marketplace>]: true`
 *   - if the plugin is on disk but not enabled in any scope, one row with
 *     `enabled: false, scope: "user"` is emitted (matches the historical
 *     `claude plugin list` default for unconfigured installs)
 */
export declare function discoverInstalledPlugins(opts: DiscoverInstalledPluginsOptions): InstalledPlugin[];
