import type { DesignMap } from "@design-parity/core"; /** One UI component discovered in the repo, by name convention or annotation. */ export interface DiscoveredComponent { /** Code handle in `design-map` form, e.g. `ui/Button.kt#PrimaryButton`. */ code: string; /** The component symbol, e.g. `PrimaryButton`. */ symbol: string; /** Repo-relative source file. */ file: string; /** * The design ref the code authored next to the component — a `@DesignRef("…")` * annotation or a `design-ref:` comment. When present the binding is explicit, * so {@link seedDesignMap} emits a real manifest entry instead of a review item. */ ref?: string; /** `high` when the code authored a ref; `low` for a name-convention match. */ confidence: "low" | "high"; } /** * Scan `repoRoot` for UI components by name convention. Deterministic: results * are sorted by code handle and de-duplicated. */ export declare function discoverCodeComponents(repoRoot: string): Promise; /** * Build the starter design-map. Components that authored a `@DesignRef` become * real, schema-valid entries (the code references its design element); the rest * stay review items in the bootstrap report. With no authored refs the manifest * is an empty scaffold, as before. The `$schema` points at the schema shipped by * `@design-parity/core` so editors validate the file in-place. */ export declare function seedDesignMap(discovered?: DiscoveredComponent[]): DesignMap; //# sourceMappingURL=seed.d.ts.map