@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
24 lines (23 loc) • 682 B
TypeScript
/**
* Semantic helper for camelCase strings
*
* @example 'helloWorld'
* @example 'iLovePromptbook'
*
* @public exported from `@promptbook/utils`
*/
export type string_camelCase = string;
/**
* Normalizes a given text to camelCase format.
*
* Note: [🔂] This function is idempotent.
*
* @param text The text to be normalized.
* @param _isFirstLetterCapital Whether the first letter should be capitalized.
* @returns The camelCase formatted string.
* @example 'helloWorld'
* @example 'iLovePromptbook'
*
* @public exported from `@promptbook/utils`
*/
export declare function normalizeTo_camelCase(text: string, _isFirstLetterCapital?: boolean): string_camelCase;