import type { CatalogPlugin, MarketplaceCatalog, PluginDiagnostic } from "./types.js"; export declare const MARKETPLACE_CATALOG_PATHS: readonly [".agents/plugins/marketplace.json", ".claude-plugin/marketplace.json"]; export interface MarketplaceCatalogRead { readonly catalog: MarketplaceCatalog; readonly diagnostics: readonly PluginDiagnostic[]; } export declare class MarketplaceCatalogError extends Error { readonly diagnostics: readonly PluginDiagnostic[]; constructor(message: string, diagnostics?: readonly PluginDiagnostic[]); } export declare function mergeMarketplaceCatalogs(documents: readonly ParsedDocumentLike[]): MarketplaceCatalogRead; export interface ParsedDocumentLike { readonly name: string; readonly plugins: readonly CatalogPlugin[]; readonly path: string; readonly diagnostics?: readonly PluginDiagnostic[]; } export declare function readMarketplaceCatalog(checkout: string): Promise;