import type { ComponentSpec } from "../specs/types.js"; import { type ShadcnCssVars, type ShadcnRegistryItem, type ShadcnRegistryItemType } from "./schema.js"; export interface ShadcnComponentCodeRef { path: string; target?: string; content?: string; } export interface ShadcnComponentItemOptions { code?: ShadcnComponentCodeRef; specPath?: string | false; cssVars?: ShadcnCssVars; registryDependencies?: string[]; dependencies?: string[]; devDependencies?: string[]; sourcePackage?: string; } export declare function componentSpecToShadcnItem(spec: ComponentSpec, options?: ShadcnComponentItemOptions): ShadcnRegistryItem; export declare function componentSpecsToShadcnItems(specs: ComponentSpec[], codeRefs?: Record, options?: Omit): ShadcnRegistryItem[]; export declare function atomicLevelToShadcnType(level: ComponentSpec["level"]): ShadcnRegistryItemType; export declare function defaultTargetForSpec(spec: Pick): string;