import type { DesignSystem } from "../engine/registry.js"; import type { ComponentSpec } from "../specs/types.js"; import { type ShadcnRegistry } from "./schema.js"; export interface ShadcnRegistryExportInput { name: string; outDir: string; designSystem: DesignSystem; specs: ComponentSpec[]; homepage?: string; memoireVersion?: string; sourcePackage?: string; generatedAt?: string; } export interface ShadcnRegistryExportResult { outDir: string; registryPath: string; filesWritten: string[]; itemRoutes: Record; registry: ShadcnRegistry; } export interface ShadcnDoctorCheck { name: string; status: "passed" | "failed"; message?: string; } export interface ShadcnDoctorResult { status: "passed" | "failed"; outDir: string; checks: ShadcnDoctorCheck[]; itemCount: number; errors: string[]; } export declare function buildShadcnRegistry(input: Omit): ShadcnRegistry; export declare function exportShadcnRegistry(input: ShadcnRegistryExportInput): Promise; export declare function doctorShadcnRegistryOutput(outDir: string): Promise; export declare function shadcnItemFileRoute(name: string): string;