@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
23 lines (22 loc) • 576 B
TypeScript
/**
* Semantic helper for kebab-case strings
*
* @example 'hello-world'
* @example 'i-love-promptbook'
*
* @public exported from `@promptbook/utils`
*/
export type string_kebab_case = string;
/**
* Converts a given text to kebab-case format.
*
* Note: [🔂] This function is idempotent.
*
* @param text The text to be converted.
* @returns The kebab-case formatted string.
* @example 'hello-world'
* @example 'i-love-promptbook'
*
* @public exported from `@promptbook/utils`
*/
export declare function normalizeToKebabCase(text: string): string_kebab_case;