/** * Naming utilities — shared helpers for identifier sanitisation and * atomic-level → output-folder resolution used across codegen and commands. */ /** * Convert a human-readable component name into a valid TypeScript identifier. * Strips non-alphanumeric characters and PascalCases each word. * * @example * toIdentifier("my component") // "MyComponent" * toIdentifier("card-header") // "CardHeader" * toIdentifier("Button") // "Button" */ export declare function toIdentifier(name: string): string; /** * Map an Atomic Design level to its output folder path fragment. * Follows the Mémoire convention: * atom → components/ui * molecule → components/molecules * organism → components/organisms * template → components/templates * * Falls back to "components" for unknown levels. */ export declare function atomicLevelToFolder(level: string): string; /** * Infer the most appropriate Atomic Design level from a component name * using a simple heuristic. * * Rules (in priority order): * 1. Name ends with "Page" → template * 2. Name contains organism keywords → organism * 3. Name contains atom keywords → atom * 4. Fallback → molecule */ export declare function inferAtomicLevel(name: string): "atom" | "molecule" | "organism" | "template";