/** * Auto-Spec Engine — Automatically creates ComponentSpecs from * pulled Figma DesignComponents. Zero manual spec writing needed. * * Infers: * - Atomic level from component name/structure * - shadcn base components from name matching * - Props from Figma component properties * - Code Connect mapping from figmaNodeId */ import type { DesignSystem } from "./registry.js"; import type { ComponentSpec } from "../specs/types.js"; export interface AutoSpecResult { specs: ComponentSpec[]; skipped: string[]; } export declare function autoSpecFromDesignSystem(ds: DesignSystem, existingSpecNames: Set): AutoSpecResult;