export declare const marketplacesPackage = "@runx/marketplaces"; export type SkillSearchSource = "runx-registry" | string; export type SkillSearchTrustTier = "runx-derived" | "external-unverified"; export type SkillRunnerMode = "portable" | "profiled"; export interface SkillSearchResult { readonly skill_id: string; readonly name: string; readonly summary?: string; readonly owner: string; readonly version?: string; readonly digest?: string; readonly source: SkillSearchSource; readonly source_label: string; readonly source_type: string; readonly trust_tier: SkillSearchTrustTier; readonly required_scopes: readonly string[]; readonly tags: readonly string[]; readonly profile_mode: SkillRunnerMode; readonly runner_names: readonly string[]; readonly profile_digest?: string; readonly profile_trust_tier?: SkillSearchTrustTier; readonly trust_signals?: readonly { readonly id: string; readonly label: string; readonly status: string; readonly value: string; }[]; readonly add_command: string; readonly run_command: string; } export interface MarketplaceSearchOptions { readonly limit?: number; } export interface MarketplaceAdapter { readonly source: string; readonly label: string; readonly search: (query: string, options?: MarketplaceSearchOptions) => Promise; readonly resolve?: (ref: string, options?: { readonly version?: string; }) => Promise<{ readonly markdown: string; readonly profileDocument?: string; readonly result: SkillSearchResult; } | undefined>; } export declare function searchMarketplaceAdapters(adapters: readonly MarketplaceAdapter[], query: string, options?: MarketplaceSearchOptions): Promise; export { createFixtureMarketplaceAdapter } from "./fixture.js"; export { isMarketplaceRef, parseMarketplaceRef, resolveMarketplaceSkill, type MarketplaceResolvedSkill, type MarketplaceResolveOptions, type MarketplaceResolver, } from "./resolve.js";