/** * Convert a type string from camelCase to PascalCase * * @example * type Test = CamelToPascal<'fooBar'> // 'FooBar' */ export type CamelToPascal = T extends `${infer FirstChar}${infer Rest}` ? `${Capitalize}${Rest}` : never; /** * Creates a list of components from a list of component names and a component type */ export type ComponentList = { [Prop in keyof ComponentNames as CamelToPascal]: ComponentType; }; /** * Converts string to kebab case * * @param {string} string * @returns {string} A kebabized string */ export declare const toKebabCase: (string: string) => string; /** * Converts string to pascal case * * @param {string} string * @returns {string} A pascalized string */ export declare const toPascalCase: (string: T) => CamelToPascal; /** * Merges classes into a single string * * @param {array} classes * @returns {string} A string of classes */ export declare const mergeClasses: (...classes: ClassType[]) => string; //# sourceMappingURL=utils.d.ts.map