/**
 * Dynamic marketplace adapter registry.
 *
 * Built-in adapters (store, skillhub, clawhub) self-register at import time.
 * Extensions call `registerMarketplaceAdapter` to add third-party sources.
 */
import type { SkillsMarketplaceAdapter } from './adapter.types.js';
export interface MarketplaceAdapterRegistration {
    adapter: SkillsMarketplaceAdapter;
    /** Human-readable label shown in the UI provider picker (e.g. "ClawHub (clawhub.ai)"). */
    displayName?: string;
}
/**
 * Register (or replace) a marketplace adapter.
 * Built-in adapters call this at module scope; extensions call it from
 * `api.registerMarketplaceAdapter()`.
 */
export declare function registerMarketplaceAdapter(registration: MarketplaceAdapterRegistration): void;
/** Remove a marketplace adapter (e.g. when an extension is unloaded). */
export declare function unregisterMarketplaceAdapter(id: string): boolean;
/** Get an adapter by id. Returns `undefined` when not registered. */
export declare function getRegisteredAdapter(id: string): SkillsMarketplaceAdapter | undefined;
/** All registered adapter ids (insertion order). */
export declare function getRegisteredAdapterIds(): string[];
/** Provider info list for the UI provider picker. */
export declare function listRegisteredProviders(): Array<{
    id: string;
    displayName: string;
}>;
/** Display name for a given provider id. */
export declare function getProviderDisplayName(id: string): string;
/** Check whether a provider id is currently registered. */
export declare function isRegisteredProvider(id: string): boolean;
