@promptbook/vercel
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
21 lines (20 loc) • 551 B
TypeScript
/**
* Semantic helper for PascalCase strings
*
* @example 'HelloWorld'
* @example 'ILovePromptbook'
* @public exported from `@promptbook/utils`
*/
export type string_PascalCase = string;
/**
* Normalizes a given text to PascalCase format.
*
* Note: [🔂] This function is idempotent.
*
* @param text @public exported from `@promptbook/utils`
* @returns
* @example 'HelloWorld'
* @example 'ILovePromptbook'
* @public exported from `@promptbook/utils`
*/
export declare function normalizeTo_PascalCase(text: string): string_PascalCase;