import type { DetectedKit, HandRoll } from "./inventory.js"; /** * The kit component a hand-rolled control duplicates, when the kit provides * one. * * Two answers, and the difference between them is the whole reason the kit is * read rather than assumed. `Button` means the kit ships one and the * application built a second: a duplicate. `null` means the kit was readable * and has nothing like it: still a defect, because a control assembled out of * raw elements beside a design system is a gap in that design system, but a * different one, and saying "the kit provides Button" about a kit that does not * would send somebody looking for an export that was never there. * * When the kit could not be read at all, the name match is the only evidence * available and it is used, because a suspicion is what this scan produces. */ export declare function kitEquivalent(symbol: string, kits: DetectedKit[]): string | null; export declare function scanHandRolls(appRoots: string[], kits: DetectedKit[], repoRoot: string): Promise;