import type { ComponentAPIData } from '../../types'; /** * Resolve the `slotClasses` slot names for a component. * * Authoritative source: the `slots:` keys of the component's tv() config, * lifted by `VariantsExtractor` onto `ComponentAPIData.slots`. The repo derives * the public `XSlots` type from those keys (`SlotNames`) — a * type alias the older `slotClasses` prop-type regex could not resolve, so it * reported `[]` for nearly every slotted component (Card, Button, Alert …). * * Falls back to two legacy heuristics only when no tv() slots were parsed (e.g. * a component with no variants file): a variant literally named `slot`/`slots`, * or an inline `Record<'a' | 'b', …>` on the `slotClasses` prop type. * * Shared by both catalog surfaces — the per-component `llm.txt` * (`LLMDocumentationGenerator`) and the MCP component catalog * (`MCPCatalogGenerator`) — so the two can never diverge again. * * Slot names only: tv() `slots:` values are class-name arrays with no per-key * documentation, so there is no description source to surface here. */ export declare function resolveSlotNames(compApi: ComponentAPIData): string[]; //# sourceMappingURL=slots.d.ts.map