@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
21 lines (20 loc) • 570 B
TypeScript
/**
* Semantic helper for snake_case strings
*
* @example 'hello_world'
* @example 'i_love_promptbook'
*/
export type string_snake_case = string;
/**
* Normalizes a text string to snake_case format.
*
* Note: [🔂] This function is idempotent.
*
* @param text The text string to be converted to snake_case format.
* @returns The normalized text in snake_case format.
* @example 'hello_world'
* @example 'i_love_promptbook'
*
* @public exported from `@promptbook/utils`
*/
export declare function normalizeTo_snake_case(text: string): string_snake_case;