UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

15 lines (14 loc) 715 B
import type { string_parameter_name } from '../../../types/string_name'; /** * Function `validateParameterName` will normalize and validate a parameter name for use in pipelines. * It removes diacritics, emojis, and quotes, normalizes to camelCase, and checks for reserved names and invalid characters. * * Note: [🔂] This function is idempotent. * * @param parameterName The parameter name to validate and normalize. * @returns The validated and normalized parameter name. * @throws {ParseError} If the parameter name is empty, reserved, or contains invalid characters. * * @private within the repository */ export declare function validateParameterName(parameterName: string): string_parameter_name;