import type { InstalledPluginInfo } from "./types.js"; export interface PluginMetadata { readonly version?: string; readonly description?: string; } /** Read the bundle's own release metadata, without requiring catalog duplication. */ export declare function readPluginMetadata(root: string): Promise; /** Old installs may have only a catalog receipt; never borrow a newer catalog version. */ export declare function installedPluginVersion(plugin: InstalledPluginInfo | undefined): string | undefined;