/** * Derives a component name from a template file path. * * The file's base name is split on every non-alphanumeric character and the * segments are joined in PascalCase: `theme-toggle.json` → `ThemeToggle`, * `user_card.ts` → `UserCard`. A name starting with a digit is prefixed * with an underscore to stay a valid JavaScript identifier. * * Used when the template carries no component name of its own and no * `--component-name` flag is given. * * @param filePath - The template file path. * @returns The derived component name. */ export declare function componentNameFromFilePath(filePath: string): string;