import type { Command } from "commander"; import type { MarketplaceCatalogEntry } from "../marketplace/catalog.js"; import type { MemoireEngine } from "../engine/core.js"; export interface RegistryDiscoveryEntry { slug: string; title: string; packageName: string; description: string; category: string; tags: string[]; featured: boolean; installCommand: string; componentCount: number; components: Array<{ name: string; level?: string; category?: string; }>; screenshotUrl: string; sourceUrl: string; } export interface RegistryDoctorCheck { name: string; status: "passed" | "failed" | "skipped"; message?: string; } export interface RegistryDoctorPayload { status: "passed" | "failed"; ref: string; resolvedRef?: string; registry?: string; version?: string; checks: RegistryDoctorCheck[]; errors: string[]; } export declare function toRegistryDiscoveryEntry(entry: MarketplaceCatalogEntry): RegistryDiscoveryEntry; export declare function searchRegistryEntries(entries: MarketplaceCatalogEntry[], query: string): MarketplaceCatalogEntry[]; export declare function findRegistryDiscoveryEntry(entries: MarketplaceCatalogEntry[], ref: string): MarketplaceCatalogEntry | undefined; export declare function registerRegistryCommand(program: Command, engine?: MemoireEngine): void; export declare function doctorRegistryRef(ref: string, cwd?: string, options?: { refresh?: boolean; }): Promise;